mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Remove deprecated bandwidth parameter.
This commit is contained in:
parent
c901025643
commit
70b0e55a8b
@ -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…
x
Reference in New Issue
Block a user