OnvifGetStreamUri2MediaCommand constructor

OnvifGetStreamUri2MediaCommand()

Implementation

OnvifGetStreamUri2MediaCommand() {
  argParser
    ..addOption('profile-token',
        abbr: 't',
        valueHelp: 'token',
        mandatory: true,
        help:
            'The ProfileToken element indicates the media profile to use and will define the source and dimensions of the snapshot.')
    ..addOption('protocol',
        defaultsTo: 'RTSP',
        valueHelp: 'transport protocol',
        allowed: [
          'RtspUnicast',
          'RtspMulticast',
          'RTSP',
          'RtspsUnicast',
          'RtspsMulticast',
          'RtspOverHttp'
        ],
        help:
            'The Protocol defines how the encoded data is expected to be streamed to the client');
}