Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Apr 11, 2023
1 parent 25b3bd3 commit df367e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/janus_streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -6364,7 +6364,7 @@ static void *janus_streaming_handler(void *data) {
}
int pt = -1;
const char *codec = NULL;
if(stream->type != JANUS_STREAMING_MEDIA_AUDIO) {
if(stream->type != JANUS_STREAMING_MEDIA_DATA) {
codec = (stream->type == JANUS_STREAMING_MEDIA_AUDIO ?
janus_audiocodec_name(stream->codecs.audio_codec) : janus_videocodec_name(stream->codecs.video_codec));
pt = janus_sdp_get_codec_pt(parsed_sdp, m->index, codec);
Expand Down

0 comments on commit df367e9

Please sign in to comment.