gtk2k Posted May 16, 2021 Share Posted May 16, 2021 How do I attend a conference on DataChannel only? Link to comment Share on other sites More sharing options...
0 gtk2k Posted May 17, 2021 Author Share Posted May 17, 2021 {command:"publish", streamId:"xxxx", video: false, audio: false}Send this command, but I get the error "notSetRemoteDescription". I tried all the patterns of WebRTC Codec Support and WebRTC Data Channel settings on the server dashboard. Link to comment Share on other sites More sharing options...
0 Yash Posted May 17, 2021 Share Posted May 17, 2021 Hi gtk2k, This is to inform you that Conference does not support data channel by default.If you want to use only data channel then you can use https://yourdomain:5443/your_application/datachannel.html Regards,Yash Link to comment Share on other sites More sharing options...
0 gtk2k Posted May 18, 2021 Author Share Posted May 18, 2021 Is it possible to join the data channel only first and then do additional video streaming later? Link to comment Share on other sites More sharing options...
0 Yash Posted May 18, 2021 Share Posted May 18, 2021 Hi gtk2k, Could you please tell me in detail about your issue? You can only join data channel by datachannel.html and parallelly you can do video streaming as per your requirement. But if you want to do both at the same time like conference only with data channel, it needs some development. If you developing your own solution using AMS then you can take reference of our SDKs https://github.com/ant-media/Ant-Media-Server/wiki/WebRTC-SDKs Regards, Yash Link to comment Share on other sites More sharing options...
0 gtk2k Posted May 18, 2021 Author Share Posted May 18, 2021 I'm developing something like Zoom in Unity. Text chat is a must at meetings, and you can start and end video streaming at any time. I want to realize that. Link to comment Share on other sites More sharing options...
0 Yash Posted May 19, 2021 Share Posted May 19, 2021 Hi gtk2k, Hope you are fine. You can integrate conference.html in your app and you can turn on/off the video and audio as per your convenience. For the data channel you can use datachannel.html .If you want conference with only data channel you can set below parameters to false in your conference.html . var mediaConstraints = { video : false, audio : false }; This will disable your both audio and video. Regards, Yash Link to comment Share on other sites More sharing options...
0 gtk2k Posted May 19, 2021 Author Share Posted May 19, 2021 どうもありがとうございました。 DataChannelのみでの接続は成功しました。 しかし、一つのPeerConnectionでDataChannelに接続した後にビデオストリーミングを実行しようとすると、already_playingエラーが発生します。 試しに、DataChannel と VideoStreamingを別々のPeerConnectionにして接続しても同じくalready_playingエラーが発生しました。 最初にDataChannelに接続してからビデオストリーミングを実行する場合の具体的なメッセージフローを知りたいのですが。 Link to comment Share on other sites More sharing options...
0 Yash Posted May 19, 2021 Share Posted May 19, 2021 Hi gtk2k, Sorry, Could you please send your last mail again. As due to language issue I am not able to understand it. Regards, Yash Link to comment Share on other sites More sharing options...
0 gtk2k Posted May 20, 2021 Author Share Posted May 20, 2021 *Use Case If you want to join the meeting, DataChannel is a must and you can stream the video as needed during the meeting. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------I would like to know the flow of signaling messages to realize such use cases. I'm developing an app in Unity. To connect first with DataChannel only { command: "publish", streamId: streamId, video: false, audio: false } I sent the command to connect. After that, to do video streaming { command: "publish", streamId: streamId, video: true, audio: false } Is the situation where an error occurs when you send the command. Link to comment Share on other sites More sharing options...
0 Yash Posted May 20, 2021 Share Posted May 20, 2021 Hi gtk2k, I hope by following below blogposts and documentation regarding WebRTC websocket messaging, conference and data channel you will get your solution. https://antmedia.io/how-to-create-a-webrtc-conference-room/ https://github.com/ant-media/Ant-Media-Server/wiki/Data-Channel https://github.com/ant-media/Ant-Media-Server/wiki/WebRTC-WebSocket-Messaging-Reference Regards,Yash Link to comment Share on other sites More sharing options...
Question
gtk2k
How do I attend a conference on DataChannel only?
Link to comment
Share on other sites
Top Posters For This Question
6
5
Popular Days
May 18
3
May 19
3
May 17
2
May 20
2
Top Posters For This Question
gtk2k 6 posts
Yash 5 posts
Popular Days
May 18 2021
3 posts
May 19 2021
3 posts
May 17 2021
2 posts
May 20 2021
2 posts
10 answers to this question
Recommended Posts