mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Remove deprecated bandwidth parameter.
This commit is contained in:
parent
c901025643
commit
70b0e55a8b
1 changed files with 0 additions and 9 deletions
|
|
@ -84,14 +84,6 @@ public class Format {
|
||||||
*/
|
*/
|
||||||
public final String language;
|
public final String language;
|
||||||
|
|
||||||
/**
|
|
||||||
* The average bandwidth in bytes per second.
|
|
||||||
*
|
|
||||||
* @deprecated Use {@link #bitrate}. However note that the units of measurement are different.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public final int bandwidth;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param id The format identifier.
|
* @param id The format identifier.
|
||||||
* @param mimeType The format mime type.
|
* @param mimeType The format mime type.
|
||||||
|
|
@ -144,7 +136,6 @@ public class Format {
|
||||||
this.bitrate = bitrate;
|
this.bitrate = bitrate;
|
||||||
this.language = language;
|
this.language = language;
|
||||||
this.codecs = codecs;
|
this.codecs = codecs;
|
||||||
this.bandwidth = bitrate / 8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue