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); }
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; }
public bool Equals(AudioStreamModel other) { return(string.Equals(CodecName, other.CodecName) && StartTime.Equals(other.StartTime) && Channels == other.Channels && string.Equals(ChannelLayout, other.ChannelLayout)); }