Skip to content

Commit

Permalink
Fixed experimental feature videobufferkf (#2170)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomf <tom@dnx-team.com>
  • Loading branch information
TomFFF and Tomf authored May 25, 2020
1 parent 88ca0d5 commit bb7efa6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/janus_streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -7704,9 +7704,9 @@ static void *janus_streaming_relay_thread(void *data) {
memcpy(pkt->data, buffer, bytes);
pkt->data->ssrc = htons(1);
pkt->data->type = mountpoint->codecs.video_pt;
packet.is_rtp = TRUE;
packet.is_video = TRUE;
packet.is_keyframe = TRUE;
pkt->is_rtp = TRUE;
pkt->is_video = TRUE;
pkt->is_keyframe = TRUE;
pkt->length = bytes;
pkt->timestamp = source->keyframe.temp_ts;
pkt->seq_number = ntohs(rtp->seq_number);
Expand Down Expand Up @@ -7746,9 +7746,9 @@ static void *janus_streaming_relay_thread(void *data) {
memcpy(pkt->data, buffer, bytes);
pkt->data->ssrc = htons(1);
pkt->data->type = mountpoint->codecs.video_pt;
packet.is_rtp = TRUE;
packet.is_video = TRUE;
packet.is_keyframe = TRUE;
pkt->is_rtp = TRUE;
pkt->is_video = TRUE;
pkt->is_keyframe = TRUE;
pkt->length = bytes;
pkt->timestamp = source->keyframe.temp_ts;
pkt->seq_number = ntohs(rtp->seq_number);
Expand Down

0 comments on commit bb7efa6

Please sign in to comment.