mpromonet/webrtc-streamer

I use version 0.8.3 to play rtsp. If I don't play the audio, the video is normal. If I also play the audio, the video will be delayed after a period of time. How can I modify this?

zhuya1996 opened this issue · 10 comments

I use version 0.8.3 to play rtsp. If I don't play the audio, the video is normal. If I also play the audio, the video will be delayed after a period of time. How can I modify this? thanks

@zhuya1996 How to play audio?

webRtcServer.connect("rtsp://admin:pwd@192.168.3.95:554/Streaming/Channels/101","rtsp://admin:pwd@192.168.3.95:554/Streaming/Channels/101");

I set it up like this, but the sound doesn’t come out.

What is the startup command?
The startup command I used is -o -s-

So the -o command cannot be used?
The main reason is that the CPU cannot bear it without using -o.

0.8.3 Use -o to have sound
It seems that there is a problem with 0.8.7

@mpromonet

same command

webrtc-streamer -o -s-

same code

webRtcServer.connect("rtsp://admin:pwd@192.168.1.95:554/Streaming/Channels/101"
		,"rtsp://admin:pwd@192.168.1.95:554/Streaming/Channels/101");

audio ok in v0.8.3
no audio in v0.8.7

That’s the solution   Is there any red envelope?

The question is how to send