cancel
Showing results for 
Search instead for 
Did you mean: 

VENC_RTSP_SERVER code getting stuck

athern27
Associate III

Hi everyone,

I’m currently trying to deploy the VENC_RTSP_SERVER code, but it's getting stuck during execution. In the UART terminal, I only see the following output before it hangs.

athern27_0-1752485431558.png

After some debugging, I found that the code is getting stuck at line 133 in venc_app.c.

tx_event_flags_get(&venc_app_flags, VIDEO_START_FLAG, TX_AND, &flags, TX_WAIT_FOREVER);

Any help or suggestions would be appreciated.


 

4 REPLIES 4
athern27
Associate III

Can someone move this topic to STM32 MCUs Products forum
I think it's more appropriate there.

DanielS
ST Employee

Hello,

Which FW version and toolchain are you using please ?

Regards,

 

Also, Is your board properly connected to an Ethernet network with  DHCP server ?

If this is the case, you should get one trace in terminal :

STM32 IpAdress! xxx.xxx.xxx.xxx

athern27
Associate III

Hi @DanielS , 
Initially, there was an issue with the DHCP connection when I connected the Ethernet cable from my laptop to the STM board. After adjusting some settings, the problem was resolved, and I'm now able to see the output on the UART terminal.

athern27_0-1752603659654.png

But now whenever I try to open RTSP (rtsp://10.42.0.158:554) in VLC. It is giving me Invalid track ID error.

athern27_1-1752604334185.png

Kindly help.

IDE - STM32CubeIDE v1.18.1
OS - Ubuntu 22.04
Firmware - STM32CubeN6 v1.2.0