pion / example-webrtc-applications

Examples of WebRTC applications that are large, or use 3rd party libraries
https://pion.ly/
MIT License
1.03k stars 244 forks source link

when i use demo: rtp-to-webrtc i can not play stream #113

Closed czk630597526 closed 2 years ago

czk630597526 commented 2 years ago

I just want play h264,and I send h264 stream to this demo,in website,I can not see stream. And this h264 stream is correct,I just send this stream to vlc. How can I solve this problem?

in chrome://webrtc-internals framesDecoded | 0 keyFramesDecoded | 36 framesDropped | 3534 totalDecodeTime | 0

Sean-Der commented 2 years ago

Hi @czk630597526

Did you replace all occurrences of VP8 with H264 in the main.go?

Did you run the ffmpeg command in the README?

Can you share your diff of the main.go and the ffmpeg command you ran?

czk630597526 commented 2 years ago

Hi @czk630597526

Did you replace all occurrences of VP8 with H264 in the main.go?

Did you run the ffmpeg command in the README?

Can you share your diff of the main.go and the ffmpeg command you ran?

thanks to reply,i just found my problems by debugging the native-webrtc source code,webrtc is More stringent in rtp checking than vlc,my stream's rtp timestamp has some problem