A few notes:
- The only required parameter is url so Larix would know where to stream.
- There may be multiple conn elements describing connections, all elements are grouped by url parameters.
- If some of conn parameters is not specified, then Larix uses default value - which you see if you add it manually.
- If some enc (encoder) parameter is not specified, then Larix uses the value currently defined in the app Video and Audio settings.
larix://set/v1/ is the beginning of Grove URL
?conn[url]=rtmps://url.to/app/stream is the URL for a connection. Refer to docs reference for more about publishing, some examples are also provided below.
&conn[name]=Channel%20name is the name which will be used in connections list in your app.
&conn[user]=foo is a user name for RTMP and RTSP if you want to use authorization.
&conn[pass]=bar is a password for RTMP and RTSP if you want to use authorization.
&conn[mode]=va is content mode, "va" stands for "Video+audio", "a" is for "Audio only", "v" is for "Video only".
&conn[target]=rtmp is a Target type. d="Default", rtmp="RTMP authentication", aka="Akamai/Dacast", lime="Limelight", peri="Periscope".
&conn[url]=srt://url.to:port/ is another connection URL.
&conn[name]=My%20Channel%202 is a connection name.
&conn[srtlatency]=1000 is SRT latency field for SRT connection.
&conn[srtmaxbw]=125000 is SRT maxbw field for SRT connection.
&conn[srtpass]=passphrase is SRT passphrase field for SRT connection.
&conn[srtpbkl]=32 is SRT pbkeylen field for SRT connection - 16, 24 or 32.
&conn[srtstreamid]= is SRT streamid identifier for SRT connection.
&enc[vid][camera]=0 is a camera selected by default, "0" is for rear camera, "1" is for frontal (selfie) camera.
&enc[vid][res]=1280x720 is the resolution defined as widthxheigth.
&enc[vid][fps]=30 if a frame rate value.
&enc[vid][bitrate]=1900 is a bitrate is Kbps.
&enc[vid][format]=avc defines a codec, "avc" is AVC/H.264, "hevc" is HEVC/H.265.
&enc[vid][keyframe]=2 is a keyframe interval.
&enc[aud][bitrate]=128 is audio bitrate in Kbps.
&enc[aud][channels]=2 is audio channels count.
&enc[aud][samples]=48000 is audio sample rate.