mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	bridge_softmix / res_rtp_asterisk: Fix packet loss and renegotiation issues.
This change does a few things to improve packet loss and renegotiation: 1. On outgoing RTP streams we will now properly reflect out of order packets and packet loss in the sequence number. This allows the remote jitterbuffer to better reorder things. 2. Video updates can now be discarded for a period of time after one has been sent to prevent flooding of clients. 3. For declined and removed streams we will now release any media session resources associated with them. This was not previously done and caused an issue where old state was being used for a new stream. 4. RTP bundling was not actually removing bundled RTP instances from the parent. This has been resolved by removing based on the RTP instance itself and not the SSRC. 5. The code did not properly handle explicitly unbundling an RTP instance from its parent. This now works as expected. ASTERISK-27143 Change-Id: Ibd91362f0e4990b6129638e712bc8adf0899fd45
This commit is contained in:
		
				
					committed by
					
						 George Joseph
						George Joseph
					
				
			
			
				
	
			
			
			
						parent
						
							29a746c534
						
					
				
				
					commit
					451d86d62e
				
			| @@ -3816,6 +3816,13 @@ void ast_bridge_set_sfu_video_mode(struct ast_bridge *bridge) | ||||
| 	ast_bridge_unlock(bridge); | ||||
| } | ||||
|  | ||||
| void ast_bridge_set_video_update_discard(struct ast_bridge *bridge, unsigned int video_update_discard) | ||||
| { | ||||
| 	ast_bridge_lock(bridge); | ||||
| 	bridge->softmix.video_mode.video_update_discard = video_update_discard; | ||||
| 	ast_bridge_unlock(bridge); | ||||
| } | ||||
|  | ||||
| void ast_bridge_update_talker_src_video_mode(struct ast_bridge *bridge, struct ast_channel *chan, int talker_energy, int is_keyframe) | ||||
| { | ||||
| 	struct ast_bridge_video_talker_src_data *data; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user