随笔分类 - ABLMediaServer
摘要:一、ABLMediaServer bool CMediaStreamSource::PushVideo(unsigned char* szVideo, int nLength, char* szVideoCodec) | | GetVideoWidthHeight(m_mediaCodecInfo.
阅读全文
摘要:一、ABLMediaServer的过程 1.没做过多的处理,只是对协议进行回复。 2.Session是在ANNOUNCE命令中得到。 二、ZLMediaKit的过程 1.Session也是在ANNOUNCE命令中得到。 2.sendRtspResponse多传了一个 _StrPrinter rtp_
阅读全文
摘要:一、ABLMediaServer的过程 在CNetRtspServer::InputRtspData中处理,除了协议的回复,没有进行实质的处理。 二、ZLMediaKit的过程 对SdpTrack及RtspSession进一步赋值。 1.对SdpTrack进一步赋值 (1) trackRef->_i
阅读全文
摘要:一、ABLMediaServer的过程 1.ProcessNetData处理数据的开始。 2.FillHttpHeadToStruct解析各个字段。 3.InputRtspData处理具体的方法。 4.GetMediaURLFromRtspSDP函数中 szCurRtspURL为:rtsp://19
阅读全文
摘要:一、ABLMediaServer的处理 1、涉及的数据结构 RtspProtect RtspProtectArray[MaxRtspProtectCount]; int RtspProtectArrayOrder; struct RtspFieldValue { char szKey[64]; ch
阅读全文
摘要:1.ABLMediaServer区分RTSP、RTCP、RTP包的方法(1)通过包的第一个字节'$'(0x24)来区别RTSP和RTP、RTCP。(2)通过包的第二个字节channe来区别RTP、RTCP。0x00为视频的RTP包,0x02音频的RTP包;0x01为视频的RTCP包,0x03为音频的
阅读全文
摘要:1.CNetRevcBase类是所有类的基类 (1)virtual int InputNetData(NETHANDLE nServerHandle, NETHANDLE nClientHandle, uint8_t* pData, uint32_t nDataLength,void* addres
阅读全文
摘要:1.export LD_LIBRARY_PATH=/home/ABLMediaServer/Linux/ffmpeg-4.3.4/lib 2.cd /home/ABLMediaServer 3.make clean;make 4. cp ABLMediaServer ../bin 5.export
阅读全文