I'm looking for suggestion about rtsp implementation. Its contains in the live555 library, for instance... (it comes from testOnDemandRTSPServer.c)
Code: Select all
char const* streamName = "mpeg2TransportStreamTest";
char const* inputFileName = "test.ts";
char const* indexFileName = "test.tsx";
ServerMediaSession* sms = ServerMediaSession::createNew(*env, streamName, streamName, descriptionString);
sms->addSubsession(MPEG2TransportFileServerMediaSubsession::createNew(*env, inputFileName, indexFileName, reuseFirstSource));
rtspServer->addServerMediaSession(sms);
announceStream(rtspServer, sms, streamName, inputFileName);
Why developers just didn't use implementation from a live555, perhaps thay found any underwater reefs in there?
and rtcp\rtp implementation too(but except of management appending and removing instance from a play list)