请生成gb28181 sip invite的sdp,要求推udp,h265和aac流,推流端口8000
- User
请生成gb28181 sip invite的sdp,要求推udp,h265和aac流,推流端口8000
- Assistant
v=0 o=- 8000 8000 IN IP4 192.168.1.100 s=LIVE H265 Stream c=IN IP4 239.0.0.1 t=0 0 a=tool:libavformat m=video 8000 RTP/AVP 96 a=rtpmap:96 H265/90000 a=fmtp:96 profile-id=1 m=audio 8002 RTP/AVP 97 a=rtpmap:97 MPEG4-GENERIC/48000/2 a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1 a=control:streamid=0
- User
上面例子,设备ip192.168.1.1,服务器ip是192.168.1.8,设备需要往服务器8000端口推流,音视频都是同一个端口
- Assistant
v=0 o=- 8000 8000 IN IP4 192.168.1.1 s=LIVE H265 Stream c=IN IP4 192.168.1.8 t=0 0 a=tool:libavformat m=video 8000 RTP/AVP 96 a=rtpmap:96 H265/90000 a=fmtp:96 profile-id=1 a=recvonly m=audio 8000 RTP/AVP 97 a=rtpmap:97 MPEG4-GENERIC/48000/2 a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1 a=control:streamid=0 a=recvonly