http-launch
http-launch copied to clipboard
Stop Pipeline after last Client disconnect
Hey, i'm trying to solve my Problem stop pipeline after last client disconnect and reinit, so the Source is only asked / used if one client is connected.
I try some change to init the hole programm in a loop and recall, but after that VLC can't connect second time.
on_client_socket_removed i call at last : g_main_loop_quit (loop);
then the main loop recall the init function. He say he is listining again (source is stoped as well) ... but connect isn't possible anymore.
whats going wrong? thanks