Add a missing break in RtspMediaTrack and update RtpPayloadFormat.java
This commit is contained in:
parent
f0d7d96309
commit
0bf197341d
@ -46,9 +46,9 @@ public final class RtpPayloadFormat {
|
|||||||
private static final String RTP_MEDIA_MPEG4_VIDEO = "MP4V-ES";
|
private static final String RTP_MEDIA_MPEG4_VIDEO = "MP4V-ES";
|
||||||
private static final String RTP_MEDIA_H264 = "H264";
|
private static final String RTP_MEDIA_H264 = "H264";
|
||||||
private static final String RTP_MEDIA_H265 = "H265";
|
private static final String RTP_MEDIA_H265 = "H265";
|
||||||
|
private static final String RTP_MEDIA_OPUS = "OPUS";
|
||||||
private static final String RTP_MEDIA_PCM_L8 = "L8";
|
private static final String RTP_MEDIA_PCM_L8 = "L8";
|
||||||
private static final String RTP_MEDIA_PCM_L16 = "L16";
|
private static final String RTP_MEDIA_PCM_L16 = "L16";
|
||||||
private static final String RTP_MEDIA_OPUS = "OPUS";
|
|
||||||
private static final String RTP_MEDIA_PCMA = "PCMA";
|
private static final String RTP_MEDIA_PCMA = "PCMA";
|
||||||
private static final String RTP_MEDIA_PCMU = "PCMU";
|
private static final String RTP_MEDIA_PCMU = "PCMU";
|
||||||
private static final String RTP_MEDIA_VP8 = "VP8";
|
private static final String RTP_MEDIA_VP8 = "VP8";
|
||||||
|
@ -189,6 +189,7 @@ import com.google.common.collect.ImmutableMap;
|
|||||||
// the RTP timestamp is incremented with a 48000 Hz clock rate
|
// the RTP timestamp is incremented with a 48000 Hz clock rate
|
||||||
// for all modes of Opus and all sampling rates.
|
// for all modes of Opus and all sampling rates.
|
||||||
checkArgument(clockRate == OPUS_SAMPLING_RATE, "Invalid sampling rate");
|
checkArgument(clockRate == OPUS_SAMPLING_RATE, "Invalid sampling rate");
|
||||||
|
break;
|
||||||
case MimeTypes.VIDEO_MP4V:
|
case MimeTypes.VIDEO_MP4V:
|
||||||
checkArgument(!fmtpParameters.isEmpty());
|
checkArgument(!fmtpParameters.isEmpty());
|
||||||
processMPEG4FmtpAttribute(formatBuilder, fmtpParameters);
|
processMPEG4FmtpAttribute(formatBuilder, fmtpParameters);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user