binbat / live777

A very simple, high performance, edge WebRTC SFU
https://live777.pages.dev
Mozilla Public License 2.0
196 stars 22 forks source link

Add rtsp protocol of `whipinto` and `whepfrom` #64

Open a-wing opened 10 months ago

a-wing commented 10 months ago

We can use webrtc-rs

On the other hand, We have reference: https://github.com/harlanc/xiu/tree/master/protocol/rtsp

a-wing commented 9 months ago

We had:

rtp -> whipinto -> live777 -> whepfrom -> rtp

I think we should add:

rtp/rtsp -> whipinto -> live777 -> whepfrom -> rtp/rtsp
a-wing commented 4 months ago

Maybe use this lib https://github.com/sdroege/rtsp-types

Reference: https://github.com/scottlamb/retina

a-wing commented 4 months ago

RTSP need support muxer

ffmpeg -re -f lavfi -i testsrc=size=640x480:rate=30 -f lavfi -i sine=frequency=1000 -vcodec libvpx -acodec libopus -f rtsp 'rtsp://127.0.0.1:8554/777'