mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-05-27 07:46:15 +00:00
refactoring
This commit is contained in:
@@ -440,13 +440,15 @@ static struct janus_plugin_result *_plugin_handle_message(
|
|||||||
"s=PiKVM uStreamer" RN
|
"s=PiKVM uStreamer" RN
|
||||||
"t=0 0" RN
|
"t=0 0" RN
|
||||||
"%s%s",
|
"%s%s",
|
||||||
|
us_get_now_id() >> 1,
|
||||||
# if JANUS_PLUGIN_API_VERSION >= 100
|
# if JANUS_PLUGIN_API_VERSION >= 100
|
||||||
// Place video SDP before audio SDP so that the video and audio streams
|
// Place video SDP before audio SDP so that the video and audio streams
|
||||||
// have predictable indices, even if audio is not available.
|
// have predictable indices, even if audio is not available.
|
||||||
us_get_now_id() >> 1, video_sdp, audio_sdp
|
// See also client.c.
|
||||||
|
video_sdp, audio_sdp
|
||||||
# else
|
# else
|
||||||
// For versions of Janus prior to 1.x, place the audio SDP first.
|
// For versions of Janus prior to 1.x, place the audio SDP first.
|
||||||
us_get_now_id() >> 1, audio_sdp, video_sdp
|
audio_sdp, video_sdp
|
||||||
# endif
|
# endif
|
||||||
);
|
);
|
||||||
free(audio_sdp);
|
free(audio_sdp);
|
||||||
|
|||||||
Reference in New Issue
Block a user