Exemple #1
0
 internal VideoTrackEncoderAttributes(VideoTrackAttributes videoAttrs) : this()
 {
     frameRate       = videoAttrs.frameRate;
     width           = videoAttrs.width;
     height          = videoAttrs.height;
     includeAlpha    = videoAttrs.includeAlpha;
     bitRateMode     = videoAttrs.bitRateMode;
     vp8.alphaLayout = videoAttrs.alphaLayout;
 }
Exemple #2
0
 public MediaTime(long count, uint rateNumerator, uint rateDenominator = 1)
 {
     this.count = count;
     m_Rate     = new MediaRational(Convert.ToInt32(rateNumerator), Convert.ToInt32(rateDenominator));
 }