Corey C
f5cbbab4d5
fix(gst-rust): response spelling typo
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/41 >
2021-06-21 22:20:40 +00:00
Seungha Yang
a3c662b2e3
meson: Fix build error caused by missing rtp dep
...
Missing RTP dep causes build error on Windows
webrtc-sendrecv.c.obj : error LNK2019: unresolved external symbol
__imp_gst_rtp_header_extension_set_id referenced in function start_pipeline
webrtc-sendrecv.c.obj : error LNK2019: unresolved external symbol
__imp_gst_rtp_header_extension_create_from_uri referenced in function start_pipeline
... and match required GStreamer to gst-example project version
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/40 >
2021-05-25 00:36:29 +09:00
Matthew Waters
a028a4cb84
webrtc/sendrecv/c: add twcc by default
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/37 >
2021-05-17 05:06:41 +00:00
Nirbheek Chauhan
f8cbae9d6e
sendrecv: Implement remote-offerer option for JS example
...
Now you can check the "Remote offerer" checkbox in the JS example to
force the peer to send the SDP offer. This involved implementing
support for receiving the OFFER_REQUEST message in the C example.
As a side-effect of this, the C example will no longer send
OFFER_REQUEST automatically when the --our-id option is passed. It
will only do so when the --remote-offerer option is explicitly passed.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31 >
2021-02-10 16:23:40 +05:30
Nirbheek Chauhan
28aa23dc20
sendrecv/gst: Some misc whitespace fixes
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31 >
2021-02-10 16:23:40 +05:30
Nirbheek Chauhan
2892a8b206
sendrecv/js: Implement state handling for Connect button
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31 >
2021-02-10 16:21:34 +05:30
Nirbheek Chauhan
ea3c0e8766
sendrecv/js: Handle OFFER_REQUEST as part of the switch
...
This is clearer, and also stricter w.r.t. what sort of messages we
accept.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31 >
2021-02-10 16:21:30 +05:30
Nirbheek Chauhan
a508bc243d
sendrecv/gst: Don't need to allocate to send OFFER_REQUEST
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/31 >
2021-02-10 16:21:24 +05:30
Seungha Yang
85aeda42fe
sendrecv/js: Add an UI for connecting to specified peer id
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/28 >
2020-12-07 20:40:50 +09:00
Seungha Yang
9e83c09be6
sendrecv/js: Convert taps to spaces
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/28 >
2020-12-07 20:40:50 +09:00
Seungha Yang
753f14f5de
sendrecv: Add an option for example to be able to accept connection request from peer
...
Add "our-id" option to specify id to be used for registering to
signalling server and wait connection request from peer
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/28 >
2020-12-07 20:40:41 +09:00
Emmanuel Gil Peyrot
20bc59f1ff
rust: Regenerate Cargo.lock
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/27 >
2020-11-23 15:29:44 +01:00
Emmanuel Gil Peyrot
3710c81432
rust: Bump async-tungstenite
...
This removes the pin-project 0.4 dependency to use 1.0 instead like the
rest of the code.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/27 >
2020-11-23 15:28:28 +01:00
Sebastian Dröge
6378337a0e
sendrecv/Rust: Only set pipeline to Playing after connecting to the signals
...
Might miss some signal emissions otherwise, especially the
on-negotiation-needed signal.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/21 >
2020-07-31 12:03:46 +03:00
Sebastian Dröge
3492c81fcf
Update Rust examples to latest bindings versions
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/21 >
2020-07-31 11:59:58 +03:00
Seungha Yang
61d200a957
Port to gst_print* family
...
g_print* would print broken string on Windows
See also https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/258
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/20 >
2020-07-27 16:28:33 +09:00
Matthew Waters
204945b902
webrtc: indent sources
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/16 >
2020-06-25 18:36:22 +10:00
Sebastian Dröge
180e1ce24c
Update dependencies of Rust demos
2020-06-18 23:34:48 +10:00
Matthew Waters
3a86a37c03
sendrecv: wait until the offer is set before creating answer
...
Pragmatically, an answer cannot be created until the offer is created as
the answer creation needs information from the offer. Practically, due
to implementation details, the answer was always queued after the set of
the offer and so the call flow did not matter.
The current code also hid a bug in webrtcbin where ice candidates would be
generated before the answer had been created which is against the JSEP
specification.
Change to the correct call flow for exemplary effect.
2020-05-06 06:01:57 +00:00
Matthew Waters
c3f629340d
check: first pass at a couple of validate tests
2020-05-06 06:01:57 +00:00
Matthew Waters
bc821a85d4
tests: first pass at some basic browser tests
2020-05-06 06:01:57 +00:00
Costa Shulyupin
56a03add78
html: charset
...
Avoid warning:
The character encoding of the HTML document was not declared.
The document will render with garbled text in some browser configurations
if the document contains characters from outside the US-ASCII range.
The character encoding of the page must be declared in the document
or in the transfer protocol.
2020-04-16 17:53:17 +02:00
Costa Shulyupin
133a1593ee
android, sendrecv: add missing break in switch case statements
2020-04-16 17:34:11 +02:00
Costa Shulyupin
2557eab9d5
gst-indent
2020-04-14 14:40:37 +03:00
Sebastian Dröge
65db695212
Set TURN server in Rust sendrecv example too
...
Previously it was only in the multiparty example.
2020-03-24 12:57:17 +02:00
Jan Schmidt
5bf67feae8
sendrecv: Add a switch for remote-offerer
...
Add a switch to the command line utility that makes it request
the initial offer from the peer instead of generating it.
Modify the webrtc.js example to support a new REQUEST_OFFER
message, and generate the offer when receiving it.
2020-03-05 03:03:17 +11:00
Jan Schmidt
c8e79c9671
webrtc-sendrecv.py: Add a stun server
...
Fixes https://github.com/centricular/gstwebrtc-demos/issues/160
2020-02-21 14:01:58 +11:00
Sebastian Dröge
699b830213
Update Rust examples to async-tungstenite 0.4
2020-02-01 15:21:08 +02:00
Sebastian Dröge
42c6eac7f1
Update dependencies of Rust examples and simplify slightly
2020-01-23 08:36:21 +02:00
Sebastian Dröge
d995a00774
Update Rust examples to async-tungstenite 0.3
2020-01-05 11:41:31 +02:00
Sebastian Dröge
f5e4df464f
Update Rust demos to gstreamer 0.15 bindings release
2019-12-19 01:04:01 +02:00
Sebastian Dröge
9a46977a4c
sendrecv/rust: Port from tokio to async-std and use async/await
2019-11-29 20:47:21 +01:00
Sebastian Dröge
3d2b63615a
Update dependencies of Rust sendrecv example
2019-10-25 02:05:16 +03:00
Sebastian Dröge
8b44f32435
Return gst::BusSyncReply::Drop from the bus sync handler in the Rust sendrecv example
...
Otherwise all messages accumulate on the queue inside the bus and
nothing is ever removing them from there.
We handle messages elsewhere and only intercept them from the sync
handler.
2019-10-25 02:02:59 +03:00
Sebastian Dröge
48130e07a1
Add FIXME comment to the Rust sendrecv example for implementation proper SDP negotiation
2019-07-09 14:51:41 +03:00
Sebastian Dröge
a8fca4037d
Enable RTX in the Rust sendrecv example only for video
...
Chrome et al don't like RTX for audio streams.
2019-07-09 14:50:19 +03:00
Sebastian Dröge
8606b54671
Update dependencies of Rust example
2019-07-08 16:45:08 +03:00
Sebastian Dröge
b3f9959a30
Add support for RTX with --rtx commandline parameter in the Rust example
2019-07-08 16:45:08 +03:00
Seungha Yang
60dbf27896
Add meson build script
...
make build easy with meson
2019-07-02 14:40:36 +01:00
Bernhard Jung
21e5f4fbda
unref sinkpad
2019-07-01 13:21:20 +03:00
Bernhard Jung
92050d6a59
do no use gst_element_link but gst_pad_link in pad-added callbacks to prevent situations where
...
on multiple incoming streams they might not get linked correctly and leave a stream unconnected
2019-07-01 13:21:20 +03:00
Sebastian Dröge
d74e2ac147
Add support for creating the offer in the Rust sendrecv client
2019-06-27 14:35:47 +03:00
Sebastian Dröge
d393063868
Update Rust sendrecv example to latest GLib/GStreamer bindings
2019-06-27 13:57:42 +03:00
Sebastian Dröge
a47bdbb21f
Port Rust sendrecv example to asynchronous IO and completely rewrite
...
Code should be easier to follow now and also supports TLS WebSockets
now.
Fixes https://github.com/centricular/gstwebrtc-demos/issues/70
2019-06-27 13:54:23 +03:00
Yevgeny Kazakov
bb36c08126
Add video tag playsinline to enable autoplay in iOS Safari
2019-04-12 18:07:38 +00:00
Yevgeny Kazakov
49e1478150
Replace deprecated onaddstream with ontrack; fixes #98
2019-04-12 18:07:38 +00:00
Emmanuel Gil Peyrot
1595972c90
Update Rust dependencies
2019-02-26 19:56:49 +02:00
svangasse
6620b49d50
Java demo ( #81 )
...
Added working demo using GStreamer Java bindings
2019-02-26 13:41:15 +01:00
Jason Sun
92bce589d8
Improve building documentation
...
- Add apt-get install lines for Ubuntu 18.04
- add gstreamer-webrtc-1.0 and gstreamer-sdp-1.0 to CFLAGS
- make the CLAGS match LIBS in Makefile dependencies
2018-11-22 05:23:15 +00:00
Matthew Waters
a63902e621
webrtc: fix data channel usage after requiring a READY webrtcbin
...
c4fe52395b
7bf18ad258
Fixes https://github.com/centricular/gstwebrtc-demos/issues/55
2018-11-06 15:44:14 +11:00