Using RFC2250

Topics: Question
Aug 11, 2016 at 10:52 PM
Edited Aug 11, 2016 at 10:56 PM

Thank you for the nice and huge effort in this project, it's really appreciated.
I am a little confusing in use local mp4 file as source for RtspServer. I thought RFC2250Media is appropriate but in Program.c of UnitTest I fount this line:
 //Test Experimental MPEG Encoding
//server.TryAddMedia(new Media.Rtsp.Server.MediaTypes.RFC2250Media(128, 96, "mpeg", localPath + "\\Media\\JpegTest\\") { Loop = true });
It's seem take Jpeg not mp4, in same file i see how take mp4 as container and iterate on each node.
ok if i get Node.Data of each node how to pass it to RFC2250Media? and is that the right way?
Aug 12, 2016 at 2:07 AM
Edited Aug 12, 2016 at 2:08 AM
Yes but it depends on the codec of the track of the container which nodes you must utilize for the SDP and individual Rtp packets as well as the semantics of the packetization of multiple related packets often called frames.

I.e. rfc2250 will not work for all codecs.

If you need anything else please let me know.
Marked as answer by juliusfriedman on 8/11/2016 at 6:07 PM