Jump to content
  • 0

Read Data Channel in Plugin


Chris
 Share

Question

Hi,

Is it possible to read/receive data channel messages in a plugin?
We need to annotate a video on the server before streaming it to the listeners in the room.  
The position and and type of the annotations is sent via data channel.
We can't use rest calls for that.

Thanks,
Chris
Link to comment
Share on other sites

  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

6 answers to this question

Recommended Posts

  • 0
Hi Cem ..again, thanks for the quick reply!  So, the usage model would look like this --
User A comes to the index.html page, where they then can select their camera, audio, or other devices that appear.

(on that note, how do we remove NDI, Screen, Screen and video as an option in the index.html ?). -- 

We would hard code the name of the stream so that we know it will be them only encoding to that "stream name" ...

Once they have confirmed with us they are ready to go, we allow the "play.html" with the proper stream name to appear on the public side and voila.. the person is broadcasting and sharing screen to the world.

Trust this makes sense. just need to make sure we can get our 720/1080p working as well as committed bandwidth up to at least 1500kbps.

Thanks,

S


Link to comment
Share on other sites

  • 0

Hi Selim, 

thank you for your answer. 
But for our use case REST is too slow and has too much overhead.

We want to annotate frames in realtime and we are already using data channels for that in our current system.
That's why I asked explicitly if Data Channels are possible.

Is there a way to receive the data channels messages of specific streams in plugins?

Best Regards,
Chris
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...