コード例 #1
0
 public RTSPDataProvider(IDemuxerController demuxerController, IRTSPClient rtpClient, ClipDefinition currentClip)
 {
     this.demuxerController = demuxerController ??
                              throw new ArgumentNullException(nameof(demuxerController),
                                                              "demuxerController cannot be null");
     this.rtspClient =
         rtpClient ?? throw new ArgumentNullException(nameof(rtpClient), "rtpClient cannot be null");
     this.currentClip =
         currentClip ?? throw new ArgumentNullException(nameof(currentClip), "clip cannot be null");
 }