Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
mediastreamer2
Commits
35ab8216
Commit
35ab8216
authored
Aug 19, 2015
by
Simon Morlat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finished
parent
2337e4db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tools/mkvstream.c
tools/mkvstream.c
+4
-0
No files found.
tools/mkvstream.c
View file @
35ab8216
...
...
@@ -126,6 +126,10 @@ int main(int argc, char *argv[]){
media_stream_set_target_network_bitrate
(
&
stream
->
ms
,
500000
);
/*set a target IP bitrate in bits/second */
/*By default, the VideoStream will show up a display window where the received video is played, with a local preview as well.
* If you don't need this, assign (void*)-1 as window id, which explicitely disable the display feature.*/
/*video_stream_set_native_window_id(stream, (void*)-1);*/
/*start the video stream, given the RtpProfile and "io" definition */
err
=
video_stream_start_from_io
(
stream
,
profile
,
ip
,
port
,
ip
,
port
+
1
,
payload_type_number
,
&
io
);
...
...
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