SrtStreamSessionFactory
Creates MPEG-TS publishing and playback sessions for srt URIs.
Register with StreamSession.Builder.registerFactory before building a session. Pass the complete SRT URI, including socket options such as mode=listener or streamid. No separate stream name is appended. Transport mode is independent of StreamSession.Mode: callers and listeners can both publish or play. Closing stops media and transport; the same session may reconnect. Session-owned monitoring ends on close or failure. Cancellation of connect closes its attempt and propagates cancellation. Observe the returned stream's failure for media errors.