sepfy / libpeer

WebRTC Library for IoT/Embedded Device using C
MIT License
804 stars 108 forks source link

I do not connect rtsp use pear rtspsrc location=rtsp #30

Closed huynhphong1611 closed 8 months ago

huynhphong1611 commented 1 year ago

I do not connect rtsp use pear rtspsrc location=rtsp . Can you help me connect rtsp with example?

sepfy commented 1 year ago

hi, if you want to use rtsp video stream as a source. can try to modify the pipeline of surveillance to

rtspsrc location=<rtsp url> ! rtph264depay ! h264parse ! rtph264pay name=rtp config-interval=-1 ssrc=1 ! appsink name=peer-connection-sink
huynhphong1611 commented 1 year ago

Hi, I have tried and succeeded with video . But no sound from rtsp. Although my rtsp server has sound.

Can you help me add this sound? Thank you.

huynhphong1611 commented 1 year ago

I think you should have an example of rtsp using pear. Because Camera IP mainly use rtsp as a video source.

sepfy commented 8 months ago

There are currently no plans to support this feature