mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 03:25:58 +08:00
Remove inaccurate comments
This commit is contained in:
@@ -53,8 +53,6 @@ func main() {
|
|||||||
// Create a MediaEngine object to configure the supported codec
|
// Create a MediaEngine object to configure the supported codec
|
||||||
mediaEngine := &webrtc.MediaEngine{}
|
mediaEngine := &webrtc.MediaEngine{}
|
||||||
|
|
||||||
// Setup the codecs you want to use.
|
|
||||||
// We'll use a VP8 and Opus but you can also define your own
|
|
||||||
if err := mediaEngine.RegisterCodec(webrtc.RTPCodecParameters{
|
if err := mediaEngine.RegisterCodec(webrtc.RTPCodecParameters{
|
||||||
RTPCodecCapability: webrtc.RTPCodecCapability{
|
RTPCodecCapability: webrtc.RTPCodecCapability{
|
||||||
MimeType: webrtc.MimeTypeAV1,
|
MimeType: webrtc.MimeTypeAV1,
|
||||||
|
Reference in New Issue
Block a user