Skip to content

Commit

Permalink
feat: implement sip incoming and tested with sample (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
giangndm authored Nov 25, 2024
1 parent a5542b4 commit a18775f
Show file tree
Hide file tree
Showing 17 changed files with 1,707 additions and 1,225 deletions.
2 changes: 1 addition & 1 deletion apps/web/app/react_ui_samples/sipIncoming/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function PageContent({ callFrom, callWs, room, peer, token, recor
}}
>
<Atm0sMediaUIProvider>
<SipIncomingCallWidget callFrom={callFrom} callWs={callWs} room={room} record={record} onEnd={onEnd2} />
<SipIncomingCallWidget callFrom={callFrom} callWs={callWs} room={room} sipPeer={callFrom} record={record} onEnd={onEnd2} />
</Atm0sMediaUIProvider>
</Atm0sMediaProvider>}
</div>
Expand Down
1 change: 1 addition & 0 deletions packages/sdk-core/generate_protobuf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ PROTO_DIR=./src/generated/protobuf

protoc -I=${PROTO_SRC} \
--plugin=node_modules/ts-proto/protoc-gen-ts_proto \
--ts_proto_opt=esModuleInterop=true \
--ts_proto_out=${PROTO_DIR} \
${PROTO_SRC}/*.proto
9 changes: 5 additions & 4 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atm0s-media-sdk/core",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"main": "./dist/lib.js",
"module": "./dist/lib.mjs",
"types": "./dist/lib.d.ts",
Expand All @@ -9,17 +9,18 @@
"src/*"
],
"devDependencies": {
"@atm0s-media-sdk/eslint-config": "0.0.0",
"@atm0s-media-sdk/typescript-config": "0.0.0",
"@turbo/gen": "^1.12.4",
"@types/eslint": "^8.56.5",
"@types/node": "^20.11.24",
"eslint": "^8.57.0",
"ts-proto": "^1.174.0",
"tsup": "^8.1.0",
"typescript": "^5.3.3",
"@atm0s-media-sdk/typescript-config": "0.0.0",
"@atm0s-media-sdk/eslint-config": "0.0.0"
"typescript": "^5.3.3"
},
"dependencies": {
"long": "^5.2.3",
"protobufjs": "^7.3.0"
},
"scripts": {
Expand Down
Loading

0 comments on commit a18775f

Please sign in to comment.