We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69f80e commit e8a5fd4Copy full SHA for e8a5fd4
1 file changed
src/utils/sdp.c
@@ -206,8 +206,11 @@ sdp_done(struct sdp *sdp_state)
206
207
static void
208
start(struct sdp *sdp_state) {
209
+ if (!sdp_state->want_sdp_audio && !sdp_state->want_sdp_video) {
210
+ return; // probably just help
211
+ }
212
// either SDP properties not set or not all streams already configured
- if (!sdp_state || sdp_state->want_sdp_audio != sdp_state->audio_set ||
213
+ if (sdp_state->want_sdp_audio != sdp_state->audio_set ||
214
sdp_state->want_sdp_video != sdp_state->video_set) {
215
return;
216
}
0 commit comments