mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-29 15:36:13 +00:00
HUGE improvements to QoS/CoS handling by IgorG
- Refer to the proper documentation
- Implement separate signalling/media QoS/CoS in many channels using RTP
- Improve warnings and verbose messages
- Deprecate some old settings
Minor modifications by me, a big effort from IgorG.
Thanks!
Reported by: IgorG
Patches:
qoscleanup-89394-4-trunk.patch uploaded by IgorG (license 20)
Tested by: IgorG
(closes issue #11145)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2292,9 +2292,9 @@ struct ast_rtp *ast_rtp_new(struct sched_context *sched, struct io_context *io,
|
||||
return ast_rtp_new_with_bindaddr(sched, io, rtcpenable, callbackmode, ia);
|
||||
}
|
||||
|
||||
int ast_rtp_setqos(struct ast_rtp *rtp, int tos, int cos)
|
||||
int ast_rtp_setqos(struct ast_rtp *rtp, int tos, int cos, char *desc)
|
||||
{
|
||||
return ast_netsock_set_qos(rtp->s, tos, cos);
|
||||
return ast_netsock_set_qos(rtp->s, tos, cos, desc);
|
||||
}
|
||||
|
||||
void ast_rtp_set_peer(struct ast_rtp *rtp, struct sockaddr_in *them)
|
||||
|
||||
Reference in New Issue
Block a user