Skip to content

parse_media not covering valid fmt's #248

Description

let formats = match media {

Fails for

Line { error: Generic("format number in media line is out of range"), line: "m=audio 30000 RTP/AVP 0 8 97 2 3", line_number: 5 }

2 is ITU-T G.721
3 is GSM 06.10
from https://tools.ietf.org/html/rfc1890 there's a list of all PTs.

This may not be in the scope of the crate because of aimed to handle WebRTC SDP offers and answers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions