Skip to content

Commit

Permalink
Add check to stream type on fragmented output (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
Acuadros95 authored Nov 30, 2021
1 parent 899a901 commit e1ef8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/core/session/write_access.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ uint16_t uxr_prepare_output_stream_fragmented(

uxrOutputReliableStream* stream = uxr_get_output_reliable_stream(&session->streams, stream_id.index);

if (stream == NULL)
if (stream_id.type == UXR_BEST_EFFORT_STREAM || stream == NULL)
{
return rv;
}
Expand Down

0 comments on commit e1ef8c6

Please sign in to comment.