Closed oikomi closed 10 years ago
hi @zhangpeihao
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf says that : Zero (4 bytes): This field MUST be all 0s.
look this code
// Set FlashPlayer version for i := 0; i < 4; i++ { s1[4+i] = FMS_VERSION[i] }
why you set them not zero?
and I also test ok if I set s1[4+i] = 0
RTMP spec document is out of date. You can find the detail information in this web page: http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol#Specification_document
hi @zhangpeihao
http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf says that : Zero (4 bytes): This field MUST be all 0s.
look this code
why you set them not zero?
and I also test ok if I set s1[4+i] = 0