Using RTSP for video streaming

hi
I need a example code for video streaming by using RTSP protocol

Give a try on this
https://curl.haxx.se/libcurl/c/rtsp.html

*hi*
_/* main app */_
**int** **main**(**int** argc, **char** * **const** argv[]).how can i change this line in legato application?

For example:

COMPONENT_INIT
{

if (le_arg_NumArgs() >= 2)
{





	memset(SERVER_IP,0,sizeof(SERVER_IP));
	memcpy(SERVER_IP,le_arg_GetArg(0),strlen(le_arg_GetArg(0)));
	SERVER_PORT=atoi(le_arg_GetArg(1));

hi
please share the legato RTSP applicaion code

i don’t have it, you need to port it by yourself.