Comments (3)
Uploaded my channel manager
In App delegate how I handle voip push
```
func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: @escaping () -> Void) {
print(payload.dictionaryPayload)
NSLog("AGORA PUSH PAYLOAD %@", payload.dictionaryPayload)
channelManager.joinChannel(channel: "room_name_call_\(UserDefaults.standard.string(forKey: "USER_PHONE") ?? "")", completion: { [weak self] in
NSLog("AGORA CHANNEL JOINED")
NSLog("PUSH JOINED %@", "I JOINED YES")
DispatchQueue.main.asyncAfter(deadline: .now() + 2, execute: {
let callUUID = UUID()
self?.reportIncomingCall(uuid: callUUID, handle: "test", isVideo: true)
self?.channelManager.sendText(string: "INCOMING_CALL_SHOWED")
NSLog("AGORA MESSAGE SENT INCOMING_CALL_SHOWED")
self?.channelManager.messageRecived = {[weak self] (string) in
if string == "END_CALL" {
self?.channelManager.leaveChannel {
}
self?.callManager.endCall(call: Call(uuid: callUUID, handle: "test"))
}
}
completion()
})
})
}
from advanced-video.
@PrashantKT the data stream goes with video stream which is sent via udp, so it's true it can be lost. The issue you described partially it's because of device limitation (the video stream is cut or reduced priority when going to backend or lock screen), on the other hand, if you wish to have sth stable for signaling service, it's recommended to use a standard signaling SDK instead of using our data stream api. If you really want to use it, maybe you can send redundant pacakges and remove duplication in receiver side.
Hope this helps.
from advanced-video.
Okay thanks updated with Singling sdk
from advanced-video.
Related Issues (20)
- Questions on sample projects - Android HOT 6
- Continues data consumption after finishing the video calls HOT 10
- Sample Android CRASH HOT 2
- App crashing while converting video frames to Images iOS HOT 7
- iOS 12+ screen recording during audio/video call started from main app. HOT 10
- int cannot be dereferenced HOT 2
- enableLocalVideo | muteLocalVideoStream not working HOT 2
- Not able to stream via newly created channel in .liveBroadcasting HOT 4
- speaker button not working on callkit HOT 3
- Application crash while setting targetSdkVersion and compileSdkVersion to 30 in android 11 HOT 1
- How to create a grid style video session layout?
- i want to do a video call with share screen functionality
- I want to create Android application with screen share feature HOT 1
- Encypt demo doesn't work(加密demo不正常) HOT 1
- AudioSession doesn't work sometimes HOT 3
- AgoraMeeting problem HOT 2
- AgoraMeeting problem (bugs)
- Video Raw Data
- Video Audio Raw Data
- Android App crashing while stroing videoFrame into videobuffer, showing BufferOverflowException in bytebuffercapture.put(buf) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advanced-video.