|
|
@@ -0,0 +1,51 @@ |
|
|
; /opt/janus/etc/janus/janus.plugin.streaming.cfg |
|
|
; [stream-name] |
|
|
; type = rtp|live|ondemand|rtsp |
|
|
; rtp = stream originated by an external tool (e.g., gstreamer or |
|
|
; ffmpeg) and sent to the plugin via RTP |
|
|
; live = local file streamed live to multiple listeners |
|
|
; (multiple listeners = same streaming context) |
|
|
; ondemand = local file streamed on-demand to a single listener |
|
|
; (multiple listeners = different streaming contexts) |
|
|
; rtsp = stream originated by an external RTSP feed (only |
|
|
; available if libcurl support was compiled) |
|
|
; id = <unique numeric ID> (if missing, a random one will be generated) |
|
|
; description = This is my awesome stream |
|
|
; is_private = yes|no (private streams don't appear when you do a 'list' |
|
|
; request) |
|
|
; secret = <optional password needed for manipulating (e.g., destroying |
|
|
; or enabling/disabling) the stream> |
|
|
; pin = <optional password needed for watching the stream> |
|
|
; filename = path to the local file to stream (only for live/ondemand) |
|
|
; audio = yes|no (do/don't stream audio) |
|
|
; video = yes|no (do/don't stream video) |
|
|
; The following options are only valid for the 'rtp' type: |
|
|
; audioport = local port for receiving audio frames |
|
|
; audiomcast = multicast group port for receiving audio frames, if any |
|
|
; audiocodec = <audio RTP payload type> (e.g., 111) |
|
|
; audiortpmap = RTP map of the audio codec (e.g., opus/48000/2) |
|
|
; videoport = local port for receiving video frames |
|
|
; videomcast = multicast group port for receiving video frames, if any |
|
|
; videocodec = <video RTP payload type> (e.g., 100) |
|
|
; videortpmap = RTP map of the video codec (e.g., VP8/90000) |
|
|
; videobufferkf = yes|no (whether the plugin should store the latest |
|
|
; keyframe and send it immediately for new viewers, EXPERIMENTAL) |
|
|
; url = RTSP stream URL (only for restreaming RTSP) |
|
|
; |
|
|
; To test the [gstreamer-sample] example, check the test_gstreamer.sh |
|
|
; script in the plugins/streams folder. To test the live and on-demand |
|
|
; audio file streams, instead, the install.sh installation script |
|
|
; automatically downloads a couple of files (radio.alaw, music.mulaw) |
|
|
; to the plugins/streams folder. |
|
|
|
|
|
[gstreamer-sample] |
|
|
type = rtp |
|
|
id = 1 |
|
|
description = H.264 live stream coming from gstreamer |
|
|
audio = no |
|
|
video = yes |
|
|
videoport = 5004 |
|
|
videopt = 126 |
|
|
videortpmap = H264/90000 |
|
|
videofmtp = profile-level-id=42e01f\;packetization-mode=1 |
|
|
;secret = adminpwd |