properly request unicast with udp
https://github.com/scottlamb/moonfire-nvr/issues/192#issuecomment-1025396306 RFC 2326 section 12.39 says if this is omitted, it defaults to multicast. Retina doesn't support multicast, so explicitly say unicast. This was already done correctly for TCP but not for UDP.
This commit is contained in:
parent
499d658352
commit
1a00b5e92a
@ -1173,7 +1173,7 @@ impl Session<Described> {
|
||||
req = req.header(
|
||||
rtsp_types::headers::TRANSPORT,
|
||||
format!(
|
||||
"RTP/AVP/UDP;client_port={}-{}",
|
||||
"RTP/AVP/UDP;unicast;client_port={}-{}",
|
||||
pair.rtp_port,
|
||||
pair.rtp_port + 1,
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user