http-launch icon indicating copy to clipboard operation
http-launch copied to clipboard

Stop Pipeline after last Client disconnect

Open c-o-m-m-a-n-d-e-r opened this issue 9 years ago • 0 comments

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

c-o-m-m-a-n-d-e-r avatar Oct 29 '16 09:10 c-o-m-m-a-n-d-e-r