Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksanford committed May 14, 2024
1 parent 5ad7bf3 commit 4b53cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ func (m *Module) AddStream(ctx context.Context, req *streampb.AddStreamRequest)
return nil, errMaxSupportedWebRTCTrackLimit
}

tlsRTP, err := webrtc.NewTrackLocalStaticRTP(webrtc.RTPCodecCapability{MimeType: "video/H264"}, "video", name.String())
tlsRTP, err := webrtc.NewTrackLocalStaticRTP(webrtc.RTPCodecCapability{MimeType: "video/H264"}, "video", resource.SDPTrackName(name))
if err != nil {
return nil, errors.Wrap(err, "error creating a new TrackLocalStaticRTP")
}
Expand Down

0 comments on commit 4b53cbd

Please sign in to comment.