-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
VideoRoomPlugin with dataChannel #91
Comments
I see, this was expected, i need to test it and will get back to you accordingly |
Hi Shivansh,
Is it correct to listen to the channel in this way? |
Nope this will not work because there is no data channel created on peerconnection object on webrtc handle flutter_janus_client/lib/janus_plugin.dart Line 464 in d72cd77
Try calling initDataChannel then directly access peerconnection object for data channel callback although i would advise you to use helper streams to listen to events rather that directly accessing webrtcHandle?.peerconnection it is there for custom functionality only. Try this and i believe it should work for you if it doesn't i will add data channel support in one of examples to illustrate how to use data channel with other media streams. You can also look at setup method of textroom plugin which shows the use of initDataChannel method
|
Hi Shivansh, |
check videocall example i have updated with datachannel illustration similar to videocall demo edea8f8 |
Closing because of no activity you can request to reopen if you still think there are some issues. |
Hi @shivanshtalwar , I call plugin.data?.listen in joinRoom, when data is VideoRoomConfigured.
Can you help me? Thanks Thank you |
I have update for you, i tried setting up data channel with video room, i was able to establish data channel open connection but couldn't send anything through, till the time i investigate it further i would suggest to use textroom plugin along with videoroom plugin which seems more scalable setup to me. |
Hi @shivanshtalwar0, |
Hi,
I am trying to configure a dataChannel in the VideoRoomPlugin but when I send a message I get nothing in the data stream.
The text was updated successfully, but these errors were encountered: