add yet another workaround in the xmpp-parsers fork for @name in ssma

This seems to be yet another proprietary extension, jicofo sets it to
either name='jvb-a0' or name='jvb-v0' depending on whether it is an
audio or a video content.  I’m tired of these meaningless extensions…
This commit is contained in:
Emmanuel Gil Peyrot 2021-10-23 20:32:56 +02:00 committed by Jasper
parent 9250084436
commit d5c7662c1d
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,9 @@ generate_element!(
attributes: [
/// Maps to the ssrc-id parameter.
id: Required<String> = "ssrc",
/// XXX: wtf is that? It can be either name='jvb-a0' or name='jvb-v0' at avstacks jicofo.
name: Option<String> = "name",
],
children: [
/// List of attributes for this source.
@ -27,6 +30,7 @@ impl Source {
id,
parameters: Vec::new(),
info: None,
name: None,
}
}
}