Fixed RTMP hanging bug, added to RTSP SDP

This commit is contained in:
Thulinma 2010-09-04 14:47:03 +02:00
parent 6047a71d56
commit e47e51ee5b
2 changed files with 2 additions and 1 deletions

View file

@ -148,6 +148,7 @@ void parseChunk(){
amfreply.addContent(AMFType("", (double)0, 0x05));//null - command info
amfreply.addContent(AMFType("", (double)1));//stream ID - we use 1
SendChunk(3, 20, next.msg_stream_id, amfreply.Pack());
SendUSR(0, 0);//send UCM StreamBegin (0), stream 0
#ifdef DEBUG
fprintf(stderr, "AMF0 command: createStream result\n");
#endif