Wowza Community

Stream MacOS screen over Webrtc using ffmpeg

I am trying to stream/cast MacOS screen through WebRTC using ffmpeg, using below command,

ffmpeg -f avfoundation -pixel_format uyvy422 -i “0” -r 10 -vcodec libx264 -preset ultrafast -tune zerolatency -crf 18 -b:v 500k -bufsize 3000k -f rtsp rtsp://xx.xxx.xxx.x:1935/live/myStream

ffmpeg command continues to run, but when I try to play webrtc example provided by Wowza streaming engine I am getting “Stream is not ready: myStream”

What am I doing wrong ?

I would try adjusting your keyframes, not enough are being seen.