Fixed compatibility with DU Recorder
This commit is contained in:
		
							parent
							
								
									7b0da7b65c
								
							
						
					
					
						commit
						ba34b3b1f7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -416,7 +416,7 @@ namespace Mist { | |||
|       myConn.SendNow(RTMPStream::SendCTL(1, RTMPStream::chunk_snd_max)); //send chunk size max (msg 1)
 | ||||
|       myConn.SendNow(RTMPStream::SendCTL(5, RTMPStream::snd_window_size)); //send window acknowledgement size (msg 5)
 | ||||
|       myConn.SendNow(RTMPStream::SendCTL(6, RTMPStream::rec_window_size)); //send rec window acknowledgement size (msg 6)
 | ||||
|       myConn.SendNow(RTMPStream::SendUSR(0, 1)); //send UCM StreamBegin (0), stream 1
 | ||||
|       //myConn.SendNow(RTMPStream::SendUSR(0, 1)); //send UCM StreamBegin (0), stream 1
 | ||||
|       //send onBWDone packet - no clue what it is, but real server sends it...
 | ||||
|       //amfReply = AMF::Object("container", AMF::AMF0_DDV_CONTAINER);
 | ||||
|       //amfReply.addContent(AMF::Object("", "onBWDone"));//result
 | ||||
|  | @ -433,7 +433,7 @@ namespace Mist { | |||
|       amfReply.addContent(AMF::Object("", (double)0, AMF::AMF0_NULL)); //null - command info
 | ||||
|       amfReply.addContent(AMF::Object("", (double)1)); //stream ID - we use 1
 | ||||
|       sendCommand(amfReply, messageType, streamId); | ||||
|       myConn.SendNow(RTMPStream::SendUSR(0, 1)); //send UCM StreamBegin (0), stream 1
 | ||||
|       //myConn.SendNow(RTMPStream::SendUSR(0, 1)); //send UCM StreamBegin (0), stream 1
 | ||||
|       return; | ||||
|     }//createStream
 | ||||
|     if (amfData.getContentP(0)->StrValue() == "ping"){ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma