Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
multistream-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Show Cases
IBC 2019
multistream-server
Commits
6d3b029d
Commit
6d3b029d
authored
Aug 23, 2019
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add profile-level-id to make mobile Chrome happy
parent
fa844d06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/main.c
src/main.c
+6
-0
No files found.
src/main.c
View file @
6d3b029d
...
...
@@ -53,11 +53,17 @@ on_offer_created (GstPromise *promise, GstElement *webrtcbin)
{
GstWebRTCSessionDescription
*
offer
=
NULL
;
gchar
*
sdp
;
GstSDPMedia
*
media
;
gst_structure_get
(
gst_promise_get_reply
(
promise
),
"offer"
,
GST_TYPE_WEBRTC_SESSION_DESCRIPTION
,
&
offer
,
NULL
);
gst_promise_unref
(
promise
);
media
=
(
GstSDPMedia
*
)
gst_sdp_message_get_media
(
offer
->
sdp
,
0
);
gst_sdp_media_add_attribute
(
media
,
"fmtp"
,
"96 packetization-mode=1;profile-level-id=42e01f"
);
g_signal_emit_by_name
(
webrtcbin
,
"set-local-description"
,
offer
,
NULL
);
sdp
=
gst_sdp_message_as_text
(
offer
->
sdp
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment