-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inability to Receive Screen Sharing Stream on React Native Mobile App #2
Comments
Hi Schayimerdan, Did you try with one of our tutorial (https://apirtc.github.io/ApiRTC-examples/conferencing_mute_screen/index.html) ? On my side the screensharing Stream is well displayed on the React Native side. BR, Apizee Support Team |
Hi Thomas, |
Hi Schayimerdan, Yes but you can access the source code here (pure js example not based on React Lib ) : https://github.com/apirtc/ApiRTC-examples/tree/master/conferencing_mute_screen If you join the same Conversation in the live demo and in the React native App could you see the screensharing on the mobile device ? BR, Apizee Support Team |
I am only seeing the joined streams in the React native App. |
OK could you tell me which ApiKey you use please ? BR, Apizee Support Team |
The last 4-digit: 3cfc |
Hi Schayimerdan, Thank you. I checked the conversation Timeline for your latest test with Android RectaNative (11/03/2024) there is only one stream published on your the React Lib implementation. Could you tell me more about the screensharing implementation on the react lib side ? for the moment there is no hook to create the screensharing stream so could you share the screensharing implementation and the ApiRTC log (DEBUG) import { setLogLevel } from "@apirtc/react-lib"; setLogLevel("debug"); I had activated debug log on ApiRTC side on your enterprise so could you gather logs on react lib side please ? BR, Apizee Support Team |
Hi Schayimerdan, If you can gather all logs (ApiRTC one and react lib) I will check them. Thank you, BR, Apizee Support Team |
Hi Thomas, I have attached the Logs after I started a Screenshare stream. But please keep in mind, that the problem was on the RN side, not on react side. There was no Screenshare stream received on the app.
|
Hi Schayimerdan, I checked on our call server side and the screensharing Stream is not published.(based on timestamp of gather logs) Only the Camera Stream is published For comparison , here is the Timeline of my own implementation based on the React Lib tuto with my own ScreenSharing Hook (not yet available on the React Lib source) You can see the ScreenSharing Publish call and the Subscribtion by the ReactNative user (id 472741) So you must understand why the ScreenSharing Stream is not published using the Hook useConversationStreams BR, Apizee Support Team |
Hi Thomas, could you please share the implementation that how you published screen sharing on react-lib and subscribed on the ReactNative side? BR, |
Hi Schayimerdan, Sorry for the response delay.
I'm not a react Dev so this is just an example on how to create a ScreenSharing Stream publish it. Hope this help. BR, Apizee Support Team |
After successfully implementing screen-sharing functionality on our web application using React-Lib, we are encountering difficulties receiving the screen-sharing stream on mobile devices that use React Native. Despite efforts, the screen-sharing stream remains inaccessible within the app. The JSON data indicates the absence of a screen-sharing stream.
It's suspected that the issue may be related to the native environment of React Native. However, further investigation is required to pinpoint the exact cause of the problem.
Would be great if you guys could offer me some ideas.
Thanks ;)
The text was updated successfully, but these errors were encountered: