mekya Posted January 4 Share Posted January 4 Hi Guys We've just prepared first version of WebRTC Samples so that users/developers can experience/play WebRTC Samples with Ant Media Server easily. There are 3 samples for now and we're going to add a new sample in each week. The full draft list is below. If you have any idea for samples or feedback for the samples or want to take part in preparing an easy to use webrtc sample, let me know. We can also discuss in the community hours tomorrow. Here is the webrtc samples link -> https://antmedia.io/webrtc-samples/ Cheers Oguz Full WebRTC Samples List(Draft) - PARTIALLY DONE: Publish and Play in the Same Page(Needs Refactor)- DONE: Publish and Play in different pages - DONE: Audio Only Publish and Play- DONE: Virtual Background - DONE: Data Only Publish and Play in different pages- RTMP Publishing and Playback- ScreenSharing Publish- Canvas Publishing- Show the Latency in Publish and Play - Change the video tracks or audio tracks on the fly- Conferencing- Multitrack Streaming- SRT Publishing and Playback- RTSP(IP Camera Streaming) and Playback- PTZ Functions for IP Camera- White Board Publish & Play- Embedded Player- Publish with User and Screen with high performance(Insertable Streams)- Transmit File with Data Publishing- Change bandwidth on the fly- Change Camera Resolution- Change Camera and Microphone- Constraints and Statistics - Session Restored Sample- requestVideoFrameCallback- Web Audio output as input to peer connection- Peer connection as input to Web Audio - Use different TURN/STUN Servers- Support SVC before the call - Check bandwidth and connectivity (test tool)- Insertable Streams: - Video Processing - Audio Processing 3 Link to comment Share on other sites More sharing options...
C.K Posted January 6 Share Posted January 6 It's very exciting! 1 Link to comment Share on other sites More sharing options...
rahul7827 Posted January 6 Share Posted January 6 On 1/4/2023 at 12:36 PM, mekya said: Hi Guys We've just prepared first version of WebRTC Samples so that users/developers can experience/play WebRTC Samples with Ant Media Server easily. There are 3 samples for now and we're going to add a new sample in each week. The full draft list is below. If you have any idea for samples or feedback for the samples or want to take part in preparing an easy to use webrtc sample, let me know. We can also discuss in the community hours tomorrow. Here is the webrtc samples link -> https://antmedia.io/webrtc-samples/ Cheers Oguz Full WebRTC Samples List(Draft) - PARTIALLY DONE: Publish and Play in the Same Page(Needs Refactor)- DONE: Publish and Play in different pages - DONE: Audio Only Publish and Play- Virtual Background- Publish and Play in different pages with Data Channel- ScreenSharing Publish- Canvas Publishing- Audio Only Publish and Play- Data Only Publishing- Show the Latency in Publish and Play- Conferencing- Multitrack Streaming- RTMP Publishing and Playback- SRT Publishing and Playback- RTSP(IP Camera Streaming) and Playback- PTZ Functions for IP Camera- White Board Publish & Play- Embedded Player- Publish with User and Screen with high performance(Insertable Streams)- Transmit File with Data Publishing- Change bandwidth on the fly- Change Camera Resolution- Change Camera and Microphone- Constraints and Statistics - Session Restored Sample- requestVideoFrameCallback- Web Audio output as input to peer connection- Peer connection as input to Web Audio - Use different TURN/STUN Servers- Support SVC before the call - Check bandwidth and connectivity (test tool)- Insertable Streams: - Video Processing - Audio Processing Hello @mekya I think we already have more than 3 samples in the enterprise edition. If this draft is not at priority we can distribute these samples with community individuals (With some pay (win-win)). Is there any theme layout and color combination for all these samples ? In my opinion should have. Also it would be better to have some explanation about these samples on blog (for non tech person to understand what the application is all about). I am already in for these development (Currently working on co-watching). 1 Link to comment Share on other sites More sharing options...
mekya Posted January 8 Author Share Posted January 8 Hi @rahul7827 Quote I think we already have more than 3 samples in the enterprise edition. If this draft is not at priority we can distribute these samples with community individuals (With some pay (win-win)). Yes, definitely. Guys, please let me know if you would like to take any of these things. Quote Is there any theme layout and color combination for all these samples ? In my opinion should have. Yes, it should be in the sample format provided. Check this WebRTC publish and Play sample This is the page and this is the source code Quote Also it would be better to have some explanation about these samples on blog (for non tech person to understand what the application is all about). At the top of samples, there are basic explanations. We can also publish a blog post to announce it and give the basic explanations. https://antmedia.io/webrtc-samples/webrtc-publish-webrtc-play/ Happy Sunday Oguz 1 Link to comment Share on other sites More sharing options...
mekya Posted January 12 Author Share Posted January 12 Hey Guys, WebRTC Virtual Background sample is available for your experience. https://antmedia.io/webrtc-samples/webrtc-virtual-background/ Let me know if you have feedbacks/forwards @rahul7827, @C.K and for everyone. 1 Link to comment Share on other sites More sharing options...
rahul7827 Posted January 12 Share Posted January 12 (edited) 32 minutes ago, mekya said: Hey Guys, WebRTC Virtual Background sample is available for your experience. https://antmedia.io/webrtc-samples/webrtc-virtual-background/ Let me know if you have feedbacks/forwards @rahul7827, @C.K and for everyone. Hi @mekya Its really good feature. 👍 Convey my special thanks to the developer (I guess mustafa developed this ?) Can we have a pre-loader at the video frame while loading the virtual background (Virtual background takes few seconds to apply, may be due to iframe ? not sure.) Also we can disable the buttons to set background until video start publishing. Edited January 12 by rahul7827 Link to comment Share on other sites More sharing options...
rahul7827 Posted January 12 Share Posted January 12 11 minutes ago, rahul7827 said: Also we can disable virtual background buttons to set background until video start publishing. Before publishing the video i clicked on virtual background, nothing happened (Did not waited long). In second attempt, I got the background (After 8-10 second). Link to comment Share on other sites More sharing options...
mekya Posted January 13 Author Share Posted January 13 Hi Rahul, 21 hours ago, rahul7827 said: Convey my special thanks to the developer (I guess mustafa developed this ?) Yes, @mustafabolekenhas developed this feature. 21 hours ago, rahul7827 said: Can we have a pre-loader at the video frame while loading the virtual background (Virtual background takes few seconds to apply, may be due to iframe ? not sure.) It's generally 1 sec or similar to make the virtual background appear. Let me understand your problem. Is it taking 8-10 seconds? 2 Link to comment Share on other sites More sharing options...
rahul7827 Posted January 14 Share Posted January 14 @mekya Yes it took, when i re-tested it took 5-6 second. Please check latest message in DM. I have shared a video recording. Also in chrome preloader appeared but not in firefox. 1 Link to comment Share on other sites More sharing options...
mekya Posted January 14 Author Share Posted January 14 OK. I'll check it out. Link to comment Share on other sites More sharing options...
mekya Posted January 14 Author Share Posted January 14 I think I understand the problem. Let me update the code that will pull the model from CDN. I'll keep you posted. 1 Link to comment Share on other sites More sharing options...
mekya Posted January 18 Author Share Posted January 18 I've enabled CDN for this page. Could you please check if it's faster? @rahul7827 https://antmedia.io/webrtc-samples/webrtc-virtual-background/ Link to comment Share on other sites More sharing options...
rahul7827 Posted January 18 Share Posted January 18 Yes @mekya Its improved by 2 second, I checked this in Chrome and Firefox (Incognito mode). 👍 for understanding the reason so quickly, that I couldn't figured out. Also did you observed, We need camera permission twice. First when the sample page starts loading and second when we select any background then again it asks for camera permission. 1 Link to comment Share on other sites More sharing options...
mekya Posted January 21 Author Share Posted January 21 Hi @rahul7827 It calls getUserMedia again when video effect is enabled because WebRTCAdaptor stops the previous track in updating video track. I think it's disturbing for you, could you please help by creating an issue for this? Additionally, I've enabled the WebRTC data channel only sample Regards Oguz 2 Link to comment Share on other sites More sharing options...
rahul7827 Posted January 21 Share Posted January 21 3 hours ago, mekya said: Hi @rahul7827 It calls getUserMedia again when video effect is enabled because WebRTCAdaptor stops the previous track in updating video track. I think it's disturbing for you, could you please help by creating an issue for this? Additionally, I've enabled the WebRTC data channel only sample Regards Oguz Hello @mekya I have created the issue here. Thanks for the explanation, I got it. 1 Link to comment Share on other sites More sharing options...
mekya Posted January 22 Author Share Posted January 22 Thank you. I've moved to the backlog. Link to comment Share on other sites More sharing options...
Recommended Posts