Skip to content

Commit 2e33430

Browse files
committed
Fix bug in VP8 transcoding:
1 parent b4d3c59 commit 2e33430

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/boombox/webrtc.ex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,9 @@ defmodule Boombox.WebRTC do
193193
%VP8{} = vp8 when vp8_negotiated? ->
194194
vp8
195195

196-
%RemoteStream{content_format: VP8, type: :packetized} when vp8_negotiated? ->
197-
VP8
196+
%RemoteStream{content_format: VP8, type: :packetized} = remote_stream
197+
when vp8_negotiated? ->
198+
remote_stream
198199

199200
_format when h264_negotiated? ->
200201
%H264{alignment: :nalu, stream_structure: :annexb}

0 commit comments

Comments
 (0)