Jump to content
  • 0

How do I attend a conference on DataChannel only?


gtk2k
 Share

Question

  • Answers 10
  • Created
  • Last Reply

Top Posters For This Question

10 answers to this question

Recommended Posts

  • 0
{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

  • 0

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

  • 0

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

  • 0

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

  • 0
どうもありがとうございました。
DataChannelのみでの接続は成功しました。

しかし、一つのPeerConnectionでDataChannelに接続した後にビデオストリーミングを実行しようとすると、already_playingエラーが発生します。
試しに、DataChannel と VideoStreamingを別々のPeerConnectionにして接続しても同じくalready_playingエラーが発生しました。

最初にDataChannelに接続してからビデオストリーミングを実行する場合の具体的なメッセージフローを知りたいのですが。

Link to comment
Share on other sites

  • 0
*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

  • 0

Hi gtk2k,

I hope by following below blogposts and documentation regarding WebRTC websocket messaging, conference and data channel you will get your solution.

Regards,

Yash

Link to comment
Share on other sites

 Share

×
×
  • Create New...