Contd
This commit is contained in:
parent
336489068b
commit
9066996906
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ void parseChunk(){
|
||||||
#endif
|
#endif
|
||||||
SendCTL(6, rec_window_size, 0);//send peer bandwidth (msg 6)
|
SendCTL(6, rec_window_size, 0);//send peer bandwidth (msg 6)
|
||||||
SendCTL(5, snd_window_size);//send window acknowledgement size (msg 5)
|
SendCTL(5, snd_window_size);//send window acknowledgement size (msg 5)
|
||||||
SendUSR(0, 0);//send UCM StreamBegin (0), stream 0
|
SendUSR(0, 1);//send UCM StreamBegin (0), stream 1
|
||||||
//send a _result reply
|
//send a _result reply
|
||||||
AMFType amfreply("container", (unsigned char)0xFF);
|
AMFType amfreply("container", (unsigned char)0xFF);
|
||||||
amfreply.addContent(AMFType("", "_result"));//result success
|
amfreply.addContent(AMFType("", "_result"));//result success
|
||||||
|
@ -154,7 +154,7 @@ void parseChunk(){
|
||||||
amfreply.Print();
|
amfreply.Print();
|
||||||
#endif
|
#endif
|
||||||
SendChunk(3, 20, next.msg_stream_id, amfreply.Pack());
|
SendChunk(3, 20, next.msg_stream_id, amfreply.Pack());
|
||||||
SendUSR(0, 0);//send UCM StreamBegin (0), stream 0
|
SendUSR(0, 1);//send UCM StreamBegin (0), stream 1
|
||||||
parsed = true;
|
parsed = true;
|
||||||
}//createStream
|
}//createStream
|
||||||
if ((amfdata.getContentP(0)->StrValue() == "getStreamLength") || (amfdata.getContentP(0)->StrValue() == "getMovLen")){
|
if ((amfdata.getContentP(0)->StrValue() == "getStreamLength") || (amfdata.getContentP(0)->StrValue() == "getMovLen")){
|
||||||
|
|
Loading…
Add table
Reference in a new issue