Posts

Post not yet marked as solved
4 Replies
3k Views
Hello, Our use case is Screen sharing in a live video call. We use broadcast extension to capture screens and send frames. The broadcast extension has hard limit of 50MB. The screen sharing works great with iPhones. But on iPad, ReplayKit delivers larger screens, and as a result, the extension memory usages goes beyond 50MB. While using the profiler we noticed, the memory used by our code is <25MB, but on iPad ReplayKit is having memory spikes which causes memory to go beyond 50MB limits. How should I achieve screen sharing use case on iPads? What is the guideline. Any suggestion/help is appreciated. Best, Piyush
Posted
by ptank.
Last updated
.
Post not yet marked as solved
2 Replies
1.5k Views
Hello,Our used case is bi-directional Audio + Video over IP iOS application.We noticed that, in our app, if a user is playing audio using AVPlayer and while playing the AVPlayer if the user initiates Audio + Video Call in the app, the volume of the AVPlayer gets reduced. When I am connected to the VoIP call, I am able to hear AVPlayer audio and the audio of remote participant in the call too, but the AVPlayer audio volume got lowered than what it was before. I noticed that AVPlayer audio volume stays low even after the call is disconnected, it never gets restored back.Is this expected? If yes, is there a workaround for this problem.Thanks,Piyush
Posted
by ptank.
Last updated
.
Post not yet marked as solved
3 Replies
2.6k Views
Hello, Our used cases is VoIP calling. There are multiple answers available on internet on how a device token should be parsed. We are using following technique to parse device token, let us know if there is an Apple Recommended way of parsing device token - (NSString *)deviceTokenWithData:(NSData *)data {   if (![data isKindOfClass:[NSData class]] || !([data length] > 0)) {     TVOLogError(@"Invalid device token");     return nil;   }   const char *tokenBytes = (const char *)[data bytes];   NSMutableString *deviceTokenString = [NSMutableString string];   for (NSUInteger i = 0; i < [data length]; ++i) {     [deviceTokenString appendFormat:@"%02.2hhx", tokenBytes[i]];   }       return deviceTokenString; } Also, it would be nice if apple provides a toString method to get string out of the device token raw bytes.
Posted
by ptank.
Last updated
.
Post not yet marked as solved
2 Replies
1.9k Views
Hello,Our used case is in-app screen sharing.Few of our customer have reported the problem while using this sample app, that ReplayKit throws -"Recording interrupted by multitasking and content resizing" error and the in-app recording does not start.I was able to reproduce the problem once on iOS 12.2, iPad Pro 12.9 inch 2nd gen during the multitasking.Here is the code which starts the in-app recording which causes the problem - https://github.com/twilio/video-quickstart-swift/blob/master/ReplayKitExample/ReplayKitExample/ViewController.swift#L343Once it gets into the problem it never recovers. I used the suggestion from https://forums.developer.apple.com/thread/109696 suggested doing "Reset All Settings", I tried and the problem went away. I haven't seen problem yet but "Reset all settings" is not ideal.Thank you,Piyush
Posted
by ptank.
Last updated
.