You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if it is possible to support OPUS encoded audio with different opus frame sizes.
At the moment RTSPtoWebRTC has issues with anything other than 20ms frame sizes, and i'm wondering if this is hard coded in VDK as per this line in codec.go?
Hi,
I'm wondering if it is possible to support OPUS encoded audio with different opus frame sizes.
At the moment RTSPtoWebRTC has issues with anything other than 20ms frame sizes, and i'm wondering if this is hard coded in VDK as per this line in codec.go?
func (self OpusCodecData) PacketDuration(data []byte) (time.Duration, error) {
return time.Duration(20) * time.Millisecond, nil
}
Below are two audio only streams encoded with 20ms and 5ms opus frame sizes. Both streams play fine in ffplay/gst-launch.
rtsp://35.213.221.96:554/test // (20ms)
rtsp://35.213.221.96:554/test_5 // (5ms)
Thanks
The text was updated successfully, but these errors were encountered: