Remove PCMU for two way for DVRIP source #1111
This commit is contained in:
+2
-1
@@ -23,8 +23,9 @@ func Dial(url string) (core.Producer, error) {
|
|||||||
Kind: core.KindAudio,
|
Kind: core.KindAudio,
|
||||||
Direction: core.DirectionSendonly,
|
Direction: core.DirectionSendonly,
|
||||||
Codecs: []*core.Codec{
|
Codecs: []*core.Codec{
|
||||||
|
// leave only one codec here for better compatibility with cameras
|
||||||
|
// https://github.com/AlexxIT/go2rtc/issues/1111
|
||||||
{Name: core.CodecPCMA, ClockRate: 8000, PayloadType: 8},
|
{Name: core.CodecPCMA, ClockRate: 8000, PayloadType: 8},
|
||||||
{Name: core.CodecPCMU, ClockRate: 8000, PayloadType: 0},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user