I have a RTP stream which generated by ffmepg, now I need to restream to RTSP with live555 .
There is a way to restream from a RTSP to another RTSP: LIVE555 Proxy Server .
But how to modify the Proxy Server to restream RTP source to RTSP (I can get the sdp description) ?
ie
Any advice will be appreciated. Thanks!
Ok, I find the solution.
Inherit the OnDemandServerMediaSubsession
class, use the MPEG4ESVideoRTPSource
and 'MPEG4VideoStreamDiscreteFramer' to get RTP input.
Then make a little change from DynamicRTSPServer
by replacing createNewSMS
function.
This RTP proxier got working!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.