Skip to content

Commit

Permalink
ensure RTP PT is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
ka9q committed May 5, 2024
1 parent 22e3942 commit fb654e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions radio_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void *radio_status(void *arg){
// Creation failed, e.g., no output stream
fprintf(stdout,"Dynamic create of ssrc %'u failed; is 'data =' set in [global]?\n",ssrc);
} else {
chan->output.rtp.type = pt_from_info(chan->output.samprate,chan->output.channels); // make sure it's initialized
decode_radio_commands(chan,buffer+1,length-1);
send_radio_status((struct sockaddr *)&Metadata_socket,&Frontend,chan); // Send status in response
reset_radio_status(chan);
Expand Down

0 comments on commit fb654e6

Please sign in to comment.