WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.86k stars 965 forks source link

WebRTC #8247

Open milehighkaraoke opened 11 months ago

milehighkaraoke commented 11 months ago

@DanielnetoDotCom what do I need to install and configure so that I may implement millisecond WebRTC, Thank you in advance

DanielnetoDotCom commented 11 months ago

The WebRTC currently will not work, it will probably be removed

milehighkaraoke commented 11 months ago

how about HLS RTC?

GreenDragonTavern commented 11 months ago

@DanielnetoDotCom - Have you ever looked into this?

https://github.com/pion/webrtc/tree/master/examples/rtp-forwarder#twitchrtmp

milehighkaraoke commented 11 months ago

thank you sir. Do you have any idea what ant media is using?

GreenDragonTavern commented 11 months ago

If you're asking me about Ant, believe it's their own gig.

milehighkaraoke commented 11 months ago

I have been investigating this, what do you think? Will this mesh with the system if it is implemented properly? https://www.devtech101.com/nginx-logging-headers-body-millisecond-timing-using-nginx-lua-module/

milehighkaraoke commented 11 months ago

also what is the drawback with Oven Media Server? I would love to get the subsecond working so I can have singers at different locations sing together.

GreenDragonTavern commented 11 months ago

Just a guess at AVideo's issue regarding WebRTC implementation. AVideo live stream security, interface and features is based on Nginx/ffmpeg/RTMP. WebRTC integration would forward via ffmpeg an RTMP stream with proper credentials. The live on AVideo would still be RTMP and you'd lose the subsecond benefit of WebRTC. Again, that's just a guess and @DanielnetoDotCom surely knows better 😉

JoshWho commented 11 months ago

Isn't the webrtc needed for the phone calling?

GreenDragonTavern commented 11 months ago

WebRTC is basically peer to peer anything your heart desires (voice, video, data), and there's no protocol. It meets, greets almost instantly (very low latency) as it is realtime.

DanielnetoDotCom commented 11 months ago

Hi,

WebRTC to RTMP Live requires another server. I guess Nginx does not support it.

To make the calls I use the Meet, which is already WebRTC and also supports the live stream

I am still investigating the best option. I wish there is a way to use webrtc to rtmp directly

GreenDragonTavern commented 11 months ago

@DanielnetoDotCom - The cat's meow so to speak is selecting an opensource media server that supports webRTC and RTMP. AVideo interface is to that one single platform since it supports both (and other) forms of live transmission. The media server would include ability to record. AVideo would then be able to initiate a live stream via webRTC or RTMP (say a mobile device or OBS) without having to kluge together multiple servers to satisfy current Nginx/RTMP interface to AVideo. This would take advantage of webRTC's low latency and as @milehighkaraoke stated, having two starlets united in single voice on AVideo.

milehighkaraoke commented 11 months ago

@GreenDragonTavern so wish we could iron this out....

GreenDragonTavern commented 11 months ago

@milehighkaraoke - Daniel has plenty on plate, no doubt. Do wish he'd circle back to OvenMediaEngine. OVE should be able handle any AVideo live requirement, even restreaming to Facebook (RTMPS) with a little help from stunnel4 (simple apt install, and config is straightforward).

DanielnetoDotCom commented 11 months ago

I have plans to try the OvenMediaEngine again.

I hope I can make it work smoothly

milehighkaraoke commented 11 months ago

@DanielnetoDotCom I found this but I am not brave enough to play with it because i know i will break something and not be able to fix it. I now enough to be dangerous 😳 https://medium.com/@AirenSoft/a-review-using-ovnemediaengine-has-arrived-from-russia-1-2-aa8663d79470