Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ var grammar = module.exports = {
// m=video 51744 RTP/AVP 126 97 98 34 31
// NB: special - pushes to session
// TODO: rtp/fmtp should be filtered by the payloads found here?
reg: /^(\w*) (\d*) ([\w/]*)(?: (.*))?/,
names: ['type', 'port', 'protocol', 'payloads'],
format: '%s %d %s %s'
reg: /^(\w*) (\d*)(?:\/(\d*))? ([\w/]*)(?: (.*))?/,
names: ['type', 'port', 'portCount', 'protocol', 'payloads'],
format: '%s %d %d %s %s'
}],
a: [
{
Expand Down