Ejemplo n.º 1
0
        internal static MEETINGMANAGE_AudioStreamInfo ToStruct(this AudioStreamModel model)
        {
            MEETINGMANAGE_AudioStreamInfo streamInfo = new MEETINGMANAGE_AudioStreamInfo()
            {
                bitspersample = model.BitsPerSameple,
                channels      = model.Channels,
                samplerate    = model.SampleRate,
                streamID      = model.StreamId,
                userid        = model.AccountId,
            };

            return(streamInfo);
        }
Ejemplo n.º 2
0
 public VideoFileInformationModel(string fullPath, string filename, string extension, string formatName,
                                  string bitRate, long fileSize, double durationInSecs, VideoStreamModel videoStream,
                                  AudioStreamModel audioStream)
 {
     FullPath       = fullPath;
     Filename       = filename;
     Extension      = extension;
     FormatName     = formatName;
     BitRate        = bitRate;
     FileSize       = fileSize;
     DurationInSecs = durationInSecs;
     VideoStream    = videoStream;
     AudioStream    = audioStream;
 }
Ejemplo n.º 3
0
 public bool Equals(AudioStreamModel other)
 {
     return(string.Equals(CodecName, other.CodecName) && StartTime.Equals(other.StartTime) &&
            Channels == other.Channels && string.Equals(ChannelLayout, other.ChannelLayout));
 }