blank on webRTC player

Eddie Lien

New Member
Hi there,

I used ffmpeg to publish rtmp streams to WCS, flash player worked perfectly but the webRTC player not.
It only shown "PLAYING" with blank screen.
And idea?

ffmpeg output format
Output #0, flv, to 'rtmp://xxx.xxx.xxx.xxx:1935/live/9999':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 1920x1080, q=-1--1, max. 500 kb/s, 1000k fps, 1k tbn, 1000k tbc
Metadata:
encoder : Lavc57.24.102 libx264
Side data:
unknown side data type 10 (24 bytes)
Stream #0:1: Audio: pcm_alaw ([7][0][0][0] / 0x0007), 44100 Hz, stereo, s16, 705 kb/s
Metadata:
encoder : Lavc57.24.102 pcm_alaw
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_f32le (native) -> pcm_alaw (native))
 

Eddie Lien

New Member
As I changed audio codec to aac, the problem remained. I also checked the browser console, and no error found.
Help!

Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv422p, 640x480, q=-1--1, max. 500 kb/s, 1000k fps, 1k tbn, 1000k tbc
Metadata:
encoder : Lavc57.24.102 libx264
Side data:
unknown side data type 10 (24 bytes)
Stream #0:1: Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavc57.24.102 aac
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (pcm_f32le (native) -> aac (native))
 

Max

Administrator
Staff member
Hello
Could you share your ffmpeg command and number of WCS build.
 

Eddie Lien

New Member
Hello
Could you share your ffmpeg command and number of WCS build.
hi Max,
My WCS is default AWS WCS image, with version:
  • v. 0.5.16.1977 - 5.0.2106
And my FFMPEG command:
ffmpeg -framerate 30 -f avfoundation -i "2:1" -vcodec libx264 -preset ultrafast -maxrate 500k -bufsize 4000k -acodec aac -f flv rtmp://xxx.xxx.xxx.xxx:1935/live/9999
 
Last edited:

Max

Administrator
Staff member
Please perform update
Code:
service webcallserver update
And try again.
 
Top