Skip to content

Commit

Permalink
Fix profile-level-id check to support Edge
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkski committed Oct 2, 2019
1 parent bed4a89 commit e93a507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (pc *PeerConnection) createAnswer() (sdp.Session, error) {
if !strings.Contains(text, "packetization-mode=1") {
supportedPayloadTypes[pt].reject = true
}
if !strings.Contains(text, "profile-level-id=42e01f") {
if !strings.Contains(text, "profile-level-id=42") {
supportedPayloadTypes[pt].reject = true
}
}
Expand Down

0 comments on commit e93a507

Please sign in to comment.