Skip to content

Commit 16d0bb7

Browse files
authored
webrtc: fix proxying PCMU tracks (#3427)
1 parent b9e9b08 commit 16d0bb7

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ replace code.cloudfoundry.org/bytefmt => github.com/cloudfoundry/bytefmt v0.0.0-
8181

8282
replace github.com/pion/ice/v2 => github.com/aler9/ice/v2 v2.0.0-20231112223552-32d34dfcf3a1
8383

84-
replace github.com/pion/webrtc/v3 => github.com/aler9/webrtc/v3 v3.0.0-20240527213244-d3ff0bd9230f
84+
replace github.com/pion/webrtc/v3 => github.com/aler9/webrtc/v3 v3.0.0-20240605103651-01c72f58f2bd

Diff for: go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc
1212
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
1313
github.com/aler9/ice/v2 v2.0.0-20231112223552-32d34dfcf3a1 h1:fD6eZt+3/t8bzFn6ZZA2eP63xBP06v3EPfPJu8DO8ys=
1414
github.com/aler9/ice/v2 v2.0.0-20231112223552-32d34dfcf3a1/go.mod h1:lT3kv5uUIlHfXHU/ZRD7uKD/ufM202+eTa3C/umgGf4=
15-
github.com/aler9/webrtc/v3 v3.0.0-20240527213244-d3ff0bd9230f h1:IcGmhy+mh/cDCHR8BBDI8iUGeV2/O1A/qqoR3yi62Z0=
16-
github.com/aler9/webrtc/v3 v3.0.0-20240527213244-d3ff0bd9230f/go.mod h1:1CaT2fcZzZ6VZA+O1i9yK2DU4EOcXVvSbWG9pr5jefs=
15+
github.com/aler9/webrtc/v3 v3.0.0-20240605103651-01c72f58f2bd h1:pYkvTEbGnsoN55D55V8okpqZxBwbXp1XpSnZ3elpFs4=
16+
github.com/aler9/webrtc/v3 v3.0.0-20240605103651-01c72f58f2bd/go.mod h1:1CaT2fcZzZ6VZA+O1i9yK2DU4EOcXVvSbWG9pr5jefs=
1717
github.com/asticode/go-astikit v0.30.0 h1:DkBkRQRIxYcknlaU7W7ksNfn4gMFsB0tqMJflxkRsZA=
1818
github.com/asticode/go-astikit v0.30.0/go.mod h1:h4ly7idim1tNhaVkdVBeXQZEE3L0xblP7fCWbgwipF0=
1919
github.com/asticode/go-astits v1.13.0 h1:XOgkaadfZODnyZRR5Y0/DWkA9vrkLLPLeeOvDwfKZ1c=

Diff for: internal/protocols/webrtc/peer_connection_test.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ func TestPeerConnectionPublishRead(t *testing.T) {
154154
ChannelCount: 1,
155155
},
156156
},
157-
// TODO: check why this fails
158-
/* {
157+
{
159158
"g711 pcmu mono",
160159
&format.G711{
161160
MULaw: true,
@@ -169,7 +168,7 @@ func TestPeerConnectionPublishRead(t *testing.T) {
169168
SampleRate: 8000,
170169
ChannelCount: 1,
171170
},
172-
}, */
171+
},
173172
} {
174173
t.Run(ca.name, func(t *testing.T) {
175174
pc1 := &PeerConnection{

0 commit comments

Comments
 (0)