Skip to content

Commit

Permalink
Add VLC SAP message support
Browse files Browse the repository at this point in the history
  • Loading branch information
dbussert committed Jul 15, 2021
1 parent 0245542 commit 89aaee5
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 89aaee5

Please sign in to comment.