* Assign stream index on outgoing RTP packets (#5)
* Correctly assign mindex on outgoing rtp packets
Previously mindex was not set and defaulted to zero. This lead to most packets
getting dropped because of sequence number reuse when streaming both audio and
video. This reorders the SDP entries for video and audio so that video is first
in both a video-only and a audio+video configuration. This means that the mindex
for video packets should always be zero, and for audio (if present) should
always be one. This assumes there will never be an audio-only configuration.
* Adjust comments
Co-authored-by: Michael Lynch <git@mtlynch.io>
* Add preprocessor conditional to guard packet.mindex setting
The mindex field wasn't added to the janus_plugin_rtp_packet until Janus 1.0, so this change adds a precompiler check to ensure JANUS_PLUGIN_API_VERSION is >= 100 before assigning a value to the mindex field.
* Preserve audio-then-video ordering for Janus 0.x
Co-authored-by: Louis Goessling <louis@goessling.com>
* Assign stream index on outgoing RTP packets (#5)
* Correctly assign mindex on outgoing rtp packets
Previously mindex was not set and defaulted to zero. This lead to most packets
getting dropped because of sequence number reuse when streaming both audio and
video. This reorders the SDP entries for video and audio so that video is first
in both a video-only and a audio+video configuration. This means that the mindex
for video packets should always be zero, and for audio (if present) should
always be one. This assumes there will never be an audio-only configuration.
* Adjust comments
Co-authored-by: Michael Lynch <git@mtlynch.io>
* Add preprocessor conditional to guard packet.mindex setting
The mindex field wasn't added to the janus_plugin_rtp_packet until Janus 1.0, so this change adds a precompiler check to ensure JANUS_PLUGIN_API_VERSION is >= 100 before assigning a value to the mindex field.
* Preserve audio-then-video ordering for Janus 0.x
Co-authored-by: Louis Goessling <louis@goessling.com>
* Support multiple (audio+video) streams in demo janus client (#4)
* Support multiple (audio+video) streams in demo janus client
* Adjust wording in H264 guide
* Use consistent braces style
Co-authored-by: Louis Goessling <louis@goessling.com>
* build docker image
* Push each image to an user github registry.
It can be used during development for testing.
* set HDMI EDID before starting ustreamer
* Update README.md