OnvifGetReplayUriReplayCommand constructor
OnvifGetReplayUriReplayCommand()
Implementation
OnvifGetReplayUriReplayCommand() {
argParser
..addOption(
'recording-token',
abbr: 't',
valueHelp: 'token',
mandatory: true,
help: 'The identifier of the recording to be streamed.',
)
..addOption(
'stream-setup-stream',
defaultsTo: 'RTP-Unicast',
valueHelp: 'stream type',
allowed: ['RTP-Unicast', 'RTP-Multicast'],
help: 'Defines if a multicast or unicast stream is requested',
)
..addOption(
'stream-setup-transport-protocol',
defaultsTo: 'RTSP',
valueHelp: 'transport protocol',
allowed: ['UDP', 'TCP', 'RTSP', 'HTTP'],
help:
'Defines the network protocol for streaming, either UDP=RTP/UDP, RTSP=RTP/RTSP/TCP or HTTP=RTP/RTSP/HTTP/TCP',
);
}