Hello Team,
I am trying to push the live stream using secure token to the Wowza Streaming Engine using the following command.
/system/bin/ffmpeg -loglevel quiet -re -i /data/misc/qmmf/LiveStreaming_FIFO_%1.264 -codec copy -f rtsp -rtsp_transport tcp rtsp://35.154.177.236:554/live/stream1?wowzatoken=B-VDkZmspHh-G49SQIKghznGAHryq5zNc3NE7KEDgx8=
When I try to get the pid of the above process using below command, I am not able to get any PID.
fp = popen("/system/bin/pgrep -f “/system/bin/ffmpeg -loglevel quiet -re -i /data/misc/qmmf/LiveStreaming_FIFO_%d.264 -codec copy -f rtsp -rtsp_transport tcp rtsp://35.154.177.236:554/live/stream1?wowzatoken=B-VDkZmspHh-G49SQIKghznGAHryq5zNc3NE7KEDgx8=”",“r”);
If I try to push the live stream without secure token to the Wowza Streaming Engine using the below command and then try to get the pid of that process using below commands I am able to get the PID of the process.
/system/bin/ffmpeg -loglevel quiet -re -i /data/misc/qmmf/LiveStreaming_FIFO_%1.264 -codec copy -f rtsp -rtsp_transport tcp rtsp://35.154.177.236:1935/heri_icam_test/myStream
fp = popen(“/system/bin/pgrep -f "/system/bin/ffmpeg -loglevel quiet -re -i /data/misc/qmmf/LiveStreaming_FIFO_%1.264 -codec copy -f rtsp -rtsp_transport tcp rtsp://35.154.177.236:1935/heri_icam_test/myStream”",“r”);
Can I get the PID of the process in case of the pushing the live stream using secure token to the Wowza Streaming Engine ? If Yes, please tell me, how can I get the PID of the process in case of live streaming to the wowza streaming engine using secure token ?
Regards,
Mahek