Remove the check for dynamic payload type.
Issue: google/ExoPlayer#9744 We do not rely on the payload type to determine the sample MIME type, we depend on the SDP message, so it's worthless checking the payload type. After removing the line, a server can use payload type 35 (an unassigned payload type) for H264; while normally H264 requires payload type >= 96). PiperOrigin-RevId: 413658076
This commit is contained in:
parent
58a8aceb97
commit
fbbedf32f9
@ -127,8 +127,6 @@ import com.google.common.collect.ImmutableMap;
|
||||
}
|
||||
|
||||
checkArgument(clockRate > 0);
|
||||
// Checks if payload type is "dynamic" as defined in RFC3551 Section 3.
|
||||
checkArgument(rtpPayloadType >= 96);
|
||||
return new RtpPayloadFormat(formatBuilder.build(), rtpPayloadType, clockRate, fmtpParameters);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user