no message

This commit is contained in:
Andrey Semochkin 2020-10-28 18:07:43 +03:00
parent fccce247d0
commit 4289f32dc8

View File

@ -475,7 +475,6 @@ func (client *RTSPClient) RTPDemuxer(payloadRAW *[]byte) ([]*av.Packet, bool) {
naluType := nal[0] & 0x1f
switch {
case naluType >= 1 && naluType <= 5:
client.Println("Fix Stream IDX")
retmap = append(retmap, &av.Packet{
Data: append(binSize(len(nal)), nal...),
CompositionTime: time.Duration(1) * time.Millisecond,
@ -516,7 +515,7 @@ func (client *RTSPClient) RTPDemuxer(payloadRAW *[]byte) ([]*av.Packet, bool) {
}
default:
client.Println("Unsupported NAL Type")
client.Println("Unsupported NAL Type", naluType)
}
}
if len(retmap) > 0 {