mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Merge "rtp_engine: Allow Media Formats with add_static_payload(-1) on egress again."
This commit is contained in:
@@ -1545,7 +1545,7 @@ static int rtp_codecs_assign_payload_code_rx(struct ast_rtp_codecs *codecs, int
|
||||
if (!explicit) {
|
||||
payload = find_static_payload_type(asterisk_format, format, code);
|
||||
|
||||
if (payload < 0 && (!asterisk_format || ast_option_rtpusedynamic)) {
|
||||
if (payload < 0 && (!asterisk_format || !ast_option_rtpusedynamic)) {
|
||||
return payload;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user