Skip to content

Commit c2ae174

Browse files
author
Thomas
committed
add msid to video feed
1 parent 0978dfc commit c2ae174

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/libdatachannel/src/webrtc_device_rtsp_h265/h265_opus_rtsp_handler.hpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,14 @@ class H265TrackHandler : public WebrtcTrackHandler,
127127
// type exists, so we might as well reuse the same value for the RTP
128128
// session in WebRTC as the one we use in the RTP source (eg. Gstreamer)
129129
media.addH265Codec(payloadType_);
130-
auto r = media.rtpMap(96);
130+
// auto r = media.rtpMap(96);
131131
// r->fmtps.push_back(
132132
// "sprop-vps=QAEMAf//"
133-
// "BAgAAAMAmAgAAAMAAFqSgJA=;sprop-sps="
134-
// "QgEBBAgAAAMAmAgAAAMAAFqQAKBAPCKUslSSZX/"
135-
// "4AAgAC1BgYGBAAAADAEAAAAeC;sprop-pps=RAHBcoYMRiQ=");
133+
// "AWAAAAMAkAAAAwAAAwB4koCQ;sprop-sps="
134+
// "QgEBAWAAAAMAkAAAAwAAAwB4oAPAgBDllkqSTK//"
135+
// "AAEAAWoCAgIIAAADAAgAAAMA8EA=;sprop-pps=RAHBcrRiQA==");
136+
137+
media.addSSRC(ssrc_, mid, mid);
136138

137139
return media;
138140
}

0 commit comments

Comments
 (0)