Browse Source

Add Opus codec SDP ID.

pull/2/head
Justine Alexandra Roberts Tunney 11 years ago
parent
commit
dbc8da013f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      sdp/codecs.go

+ 1
- 0
sdp/codecs.go View File

@ -21,6 +21,7 @@ package sdp
var (
ULAWCodec = Codec{PT: 0, Name: "PCMU", Rate: 8000}
DTMFCodec = Codec{PT: 101, Name: "telephone-event", Rate: 8000, Fmtp: "0-16"}
Opus = Codec{PT: 111, Name: "opus", Rate: 48000, Param: "2"}
StandardCodecs = map[uint8]Codec{
0: ULAWCodec, // G.711 μ-Law is the de-facto codec (SpanDSP g711.h)


Loading…
Cancel
Save