OptionalaccessOptional access token to use to join a private stream
OptionalcontentMap of keys to content protection settings for encrypted streams The key can be "com.apple.fps" for example for FairPlay
endPoint to connect. Can be only a host(:port) but accept also a full url of connection, it can help to force a path or indicate a protocol preference
OptionaliceiceServer to use while connecting to a WebRTC stream
OptionalmediaOptional media extension (mp4, flv, ts, rts), usefull for protocol like WebRTS which supports different container type. When not set, it's also an output parameter for defineMediaExt to indicate what is the media type selected
OptionalqueryOptional query to add into the generated url of connection
OptionalstreamThe name of the stream to join.
If endPoint is a complete URL and streamName is not provided, buildURL will set this parameter automatically
using the second part of the URL's path (the first part being the protocol name), or the first path if no other part exists.
Parameters of connections