Minimum SDP for making a H264 RTP stream?

只谈情不闲聊 提交于 2019-11-28 09:22:19
TheMeaningfulEngineer

Here is the bares minimum SDP. It is a file called test.sdp which has the following content:

c=IN IP4 10.5.110.117
m=video 5004 RTP/AVP 96 
a=rtpmap:96 H264/90000

I've started the stream on a virtual machine using VLC. (No SDP sent here)

vlc -vvv sample_video/big_buck_bunny_480p_h264.mov --sout
'#rtp{dst=10.5.110.117,port=5004,ttl=1}'

On the client side, the player was started with:

vlc test.sdp

Update The reason why the stream is correctly interpreted with this minimal SDP file is that the RTP packets contain the required parameters to decode the video correctly (sprop parameters are sent in bound). This question provides a bit of conceptual insight of on those parameters Is sprop-parameter-sets or profile-level-id the SDP parameter required to decode H264?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!