opus to PCM or Ogg format? #643
zh383603842
started this conversation in
General
Replies: 1 comment 2 replies
-
There is no OPUS codec in any of the sipsorcery libraries. Likewise with the ogg continer format, There might be some .NET libraries floating around that implement or wrap an OPUS codec but you'd need to wire them iup yourself. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
List AudioOfferFormats = new List {
new SDPAudioVideoMediaFormat(SDPMediaTypesEnum.audio, 111, "OPUS", 48000, 2, null)
};
peerConnection.OnRtpPacketReceived += (IPEndPoint rep, SDPMediaTypesEnum media, RTPPacket rtpPkt) =>
{
if (media == SDPMediaTypesEnum.audio)
{
//opus to pcm?or ogg??
}
};
//How to convert opus to PCM or Ogg format????
Beta Was this translation helpful? Give feedback.
All reactions