floe / surfacecast

SurfaceCast: merge and distribute surface streams and webcam chat via WebRTC
GNU Lesser General Public License v3.0
11 stars 3 forks source link

Reconnection issues #60

Open floe opened 1 year ago

floe commented 1 year ago

Still prone to hanging when clients reconnect quickly, or in short succession.

floe commented 1 year ago

Suggestion: don't exit on pipeline error ("SCTP association error state")?

floe commented 1 year ago

(Hopefully) solved via a0f6815.

floe commented 1 year ago

Not yet solved 😑 Root cause seems to be if a client dis- and reconnects (or a second client connects) before all the GStreamer plumbing is in place.

floe commented 1 year ago

More precisely: error seems to occur when the client disconnects again before all streams have fully started, leading to non-deterministic caps negotiation errors later on.

floe commented 11 months ago

The same (or a similar) issue also seems to occur after several regular client disconnections at some point, where parts of the pipeline just stop streaming.