flutter_janus_client icon indicating copy to clipboard operation
flutter_janus_client copied to clipboard

Streaming plugin: Cannot watchStream other mount point after stopStream

Open getsolutionstz opened this issue 1 year ago • 1 comments

I want to use the same plugin handle to watch different streams. But when I stopStream(), then watchStream(mtpointId), and startStream(), the stream does not play.

I observed that when I stopStream() {event: {janus: event, session_id: 6076152537598841, transaction: e0142190-a972-42c5-ba5b-c9a1137b702f, sender: 5451666764555511, plugindata: {plugin: janus.plugin.streaming, data: {streaming: event, result: {status: stopping}}}}, jsep: null}

{event: {janus: hangup, session_id: 6076152537598841, sender: 5451666764555511, reason: Close PC}, jsep: null}

Is it okay to get hangup after stopping? But after getting hangup. I cannot use the handle to watch any other stream.

I tried PauseStream(), but I do not get hangup. And when I reopen the stream I can play the stream just fine.

getsolutionstz avatar Oct 25 '24 23:10 getsolutionstz

It is normal behaviour of janus server you should refer to janus server documentation

shivanshtalwar avatar Oct 26 '24 06:10 shivanshtalwar