Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/live_ex_webrtc/player.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ defmodule LiveExWebRTC.Player do

## Simulcast

Simulcast requires video codecs to be H264 (packetization mode 1) and/or VP8.
Simulcast requires video codecs to be H264 and/or VP8.
See `LiveExWebRTC.Publisher` module doc for more.

## Examples
Expand Down
5 changes: 2 additions & 3 deletions lib/live_ex_webrtc/publisher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ defmodule LiveExWebRTC.Publisher do

## Simulcast

Simulcast requires video codecs to be H264 (packetization mode 1) and/or VP8. E.g.
Simulcast requires video codecs to be H264 and/or VP8. E.g.

```elixir
video_codecs = [
Expand Down Expand Up @@ -803,8 +803,7 @@ defmodule LiveExWebRTC.Publisher do
true

%RTPCodecParameters{mime_type: "video/H264", sdp_fmtp_line: fmtp} when fmtp != nil ->
fmtp.level_asymmetry_allowed == true and fmtp.packetization_mode == 1 and
fmtp.profile_level_id == 0x42E01F
fmtp.level_asymmetry_allowed == true and fmtp.profile_level_id == 0x42E01F

_ ->
false
Expand Down