# Not getting PID of the process while pushing live secure token stream to the Wowza Streaming Engine

**URL:** <https://community.wowza.com/t/not-getting-pid-of-the-process-while-pushing-live-secure-token-stream-to-the-wowza-streaming-engine/51683>\
**Category:** Hire a Consultant\
**Created:** [July 26, 2018, 12:19pm UTC](https://community.wowza.com/t/not-getting-pid-of-the-process-while-pushing-live-secure-token-stream-to-the-wowza-streaming-engine/51683 "2018-07-26T12:19:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahek\_Delawala](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@Mahek\_Delawala](https://community.wowza.com/u/Mahek_Delawala)\
**Post date:** [July 26, 2018, 12:19pm UTC](https://community.wowza.com/t/not-getting-pid-of-the-process-while-pushing-live-secure-token-stream-to-the-wowza-streaming-engine/51683/1 "2018-07-26T12:19:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [July 26, 2018, 12:30pm UTC](https://community.wowza.com/t/not-getting-pid-of-the-process-while-pushing-live-secure-token-stream-to-the-wowza-streaming-engine/51683/2 "2018-07-26T12:30:36Z")

</div>

Hello @Mahek Delawala,

This forum is called “Hire a Consultant”, and meant for inquiries for paid support from authorized (external) consultants. If you’re looking for support for Wowza Streaming Engine, you may post your question in [https://www.wowza.com/community/spaces/31/wowza-streaming-engine-support-forums.html](https://www.wowza.com/community/spaces/31/wowza-streaming-engine-support-forums.html). For Wowza Cloud, you can post in [https://www.wowza.com/community/spaces/32/index.html](https://www.wowza.com/community/spaces/32/index.html)

Wowza also has a Slack community ([https://www.wowza.com/slack](https://www.wowza.com/slack)). Or you can send an email to [support@wowza.com](mailto:support@wowza.com) (see [https://www.wowza.com/support/plans-and-services](https://www.wowza.com/support/plans-and-services) for more information)

If you want to hire a consultant to help you find a solution, don’t hesitate to drop me an email.

Sincerely,

Karel Boek  
[karel.boek@raskenlund.com](mailto:karel.boek@raskenlund.com)
