Closed saurabhghadi0401 closed 2 years ago
It might be hard to help without what you have implemented. Based on the guide, device level screen share requires at least Add App Groups Capability
, RPSystemBroadcastPickerView
, SampleHander
, ReplayKitSource
. Do you have all the implementation?
Hi @hokyungh , Thanks for quick-reply. Yeah, I have already setup App Groups Capability for extension and for target. I have created a bridge-file like RNVideoRenderView.js to call RPSystemBroadcastPickerView from native to react-native. Also, I have setup SampleHandler too. And I use ScreenshareModel, BroadcastModel swift classes and initialize it when meeting session is created.
This file will call the swift classes in NativemobileSDKBridge file. In the same file, i have mentioned broadcast class too. Can you please let me know what steps I am missing ?
I have attached SDK logs : Native-bridge-SDK-logs.txt
I see in AWS-Chime-sdk-ios (https://github.com/aws/amazon-chime-sdk-ios/blob/master/AmazonChimeSDKDemo/AmazonChimeSDKDemo/MeetingViewController.swift#:~:text=self%2C%20action%3A%20%23selector(-,broadcastButtonTapped,-)%2C%20for%3A%20.touchUpInside)) isBlocked property of BroadcastScreenCaptureModel is set and then it'll invoke saveMeetingSessionConfigToUserDefaults function to set appGroupUserDefaults values. Can I set those values when meetingSession is generated?
I configured saveMeetingSessionConfigToUserDefaults function when meetingSession is created but it didn't show me the app in broadcast list. I checked the logs and saw this error log -> Couldn't read values in CFPrefsPlistSource
which means App extension is not getting installed right?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@hokyungh , I figured out the way to integrate screen-share in iOS. I will post the solution once everything is ready.
@saurabhghadi0401 Glad to see you found the way. Feel free to share it in this thread, so that we may add it into our demo app. Closing this for now.
Hello,
I am trying to create a bridge for entire screen share on Chime-React-Native-Demo, and have setup broadcast extension as per the guide (https://github.com/aws/amazon-chime-sdk-ios/blob/master/guides/content_share.md#device-level-screen-sharing). I create a custom-bridge to render RPSystemBroadcastPickerView in our code. But when I click it, it doesn't show me the app to broadcast it.
I tried to run chime native iOS code and it installed the extension, but when I tried to do the same on react-native side, it's not getting installed. is there any method I need to setup so that extension will get installed When I join the meeting? Kindly please suggest any way to install/invoke the extension.
Thanks, Saurabh