mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	rtp_engine: Add type field for JSON RTCP Report stasis messages
ASTERISK-29727 #close Change-Id: I2eca8aeb591cb63ac2238d08eab662367453cb82
This commit is contained in:
		
				
					committed by
					
						 Friendly Automation
						Friendly Automation
					
				
			
			
				
	
			
			
			
						parent
						
							5aec2bfee1
						
					
				
				
					commit
					f800f23d9c
				
			| @@ -3455,7 +3455,8 @@ static struct ast_json *rtcp_report_to_json(struct stasis_message *msg, | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	return ast_json_pack("{s: o?, s: o, s: O?}", | ||||
| 	return ast_json_pack("{s: s, s: o?, s: o, s: O?}", | ||||
| 		"type", stasis_message_type(msg) == ast_rtp_rtcp_received_type() ? "RTCPReceived" : "RTCPSent", | ||||
| 		"channel", json_channel, | ||||
| 		"rtcp_report", json_rtcp_report, | ||||
| 		"blob", payload->blob); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user