Track live stream catalogues independently for each owner
This commit is contained in:
1 parent
39446b6e2c
commit
4fa9d474ab
3 files changed
+63
-35
No files matched your search
@@ -168,7 +168,7 @@ static void media_process(void *arg) {
|
||||
if (!media_inst) { pthread_mutex_unlock(&media_lock); return; }
|
||||
if (watch_pending) {
|
||||
watch_pending = 0;
|
||||
if (stream_watch_sources(media_inst, watch_group) != STREAM_OK)
|
||||
if (stream_watch_sources(media_inst, watch_group, 0) != STREAM_OK)
|
||||
DEBUG_ERROR(DEBUG_CATEGORY_STREAM, "Android stream source watch failed group=%llx", (unsigned long long)watch_group);
|
||||
}
|
||||
if (viewer.opening) {
|
||||
@@ -247,7 +247,7 @@ void android_stream_detach(struct UTUN_INSTANCE *inst) {
|
||||
if (media_post) uasync_cancel_post(inst->ua, media_post);
|
||||
if (media_timer) uasync_cancel_timeout(inst->ua, media_timer);
|
||||
media_post = NULL; media_timer = NULL;
|
||||
stream_watch_sources(inst, 0);
|
||||
stream_watch_sources(inst, 0, 0);
|
||||
stream_set_event_callback(inst, NULL, NULL);
|
||||
queue_clear(&output_queue);
|
||||
stream_publisher_destroy(transmitter); transmitter = NULL; memset(&publisher, 0, sizeof(publisher));
|
||||
|
||||
Reference in new issue
Block a user