Chris Posted August 24, 2021 Share Posted August 24, 2021 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 More sharing options...
0 Cem K1l1 Posted August 25, 2021 Share Posted August 25, 2021 Hi Chris, It might be possible with a modification, but can you give a little more details for your use case? Also, the upper layer of our support team might have a better answer for you. Regards, Cem Link to comment Share on other sites More sharing options...
0 Ant Man Posted August 25, 2021 Share Posted August 25, 2021 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 More sharing options...
0 Chris Posted August 25, 2021 Author Share Posted August 25, 2021 I need to draw annotations to the onto the video on the server in realtime. I want to sent the data for the annotation over the datachannel. How can I achieve this? Link to comment Share on other sites More sharing options...
0 Selim Emre Posted August 28, 2021 Share Posted August 28, 2021 Hi Chris, You can add your requirements with plugin mechanism REST Services. No need to use Data Channel. Please check below guidance: https://antmedia.io/plugin-development-guide/ https://antmedia.io/plugins-will-make-ant-media-server-more-powerful/ I hope, I could help you. Best Regards, Selim Link to comment Share on other sites More sharing options...
0 Chris Posted August 29, 2021 Author Share Posted August 29, 2021 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 More sharing options...
0 Enes Kuluk Posted August 30, 2021 Share Posted August 30, 2021 I suggest you to meet with our experts. You can book either a free consultancy or paid one. Here is the link for free: https://calendly.com/antmedia/call?back=1&month=2021-09 And for he paid one: https://calendly.com/antmedia/consultancy?back=1&month=2021-09 Enes. Link to comment Share on other sites More sharing options...
Question
Chris
Hi,
Link to comment
Share on other sites
Top Posters For This Question
3
1
1
1
Popular Days
Aug 25
3
Aug 30
1
Aug 24
1
Aug 28
1
Top Posters For This Question
Chris 3 posts
Selim Emre 1 post
Ant Man 1 post
Cem K1l1 1 post
Popular Days
Aug 25 2021
3 posts
Aug 30 2021
1 post
Aug 24 2021
1 post
Aug 28 2021
1 post
6 answers to this question
Recommended Posts