How to get the camera preview when streaming using FFMPEG in iOS?

499 views Asked by At

I'm using the below command in my iOS project and i want to display the camera preview in my UIView.

-f avfoundation -r 30 -video_size 640x480 -pixel_format bgr0 -i \"default:default\" -preset ultrafast -c:v h264_videotoolbox -c:a mp2 -tune zerolatency -b 900k -f tee -map 0:v -map 0:a \"%@|[f=mpegts]udp://127.0.0.1:43000/
0

There are 0 answers