Skip to content

Stop Pipeline after last Client disconnect #6

@c-o-m-m-a-n-d-e-r

Description

@c-o-m-m-a-n-d-e-r

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions