Closed user0568 closed 5 months ago
Bonjour @user0568,
Je vous remercie pour votre message, mais ne comprenant pas ce que vous dites, il ne m'est pas possible de vous répondre.
Bien cordialement Michel
The front-end page uses the above code, but only the video is played without audio. I use vlc to play both the video and audio. May I ask if WebRtcStreamer cannot decode the audio encoding in the stream
Learners
Hi @user0568,
With this code, you will get only video, if you like to get video & audio, you need to give an audio url. You might try
webRtcServer.connect("rtsp://admin:a4451442@192.168.23.202/h265/ch22/main/av_stream","rtsp://admin:a4451442@192.168.23.202/h265/ch22/main/av_stream");
Best Regards, Michel.
Hi @user0568,
With this code, you will get only video, if you like to get video & audio, you need to give an audio url. You might try
webRtcServer.connect("rtsp://admin:a4451442@192.168.23.202/h265/ch22/main/av_stream","rtsp://admin:a4451442@192.168.23.202/h265/ch22/main/av_stream");
Best Regards, Michel.
I did what you said but there's still no audio playing. :(
webRtcServer4 = new WebRtcStreamer("video4","http://127.0.0.1:8000"); webRtcServer4.connect("rtsp://admin:a4451442@192.168.23.202/h265/ch22/main/av_stream");
如何获取音频