Sean DuBois
3147b45f9d
Improve examples/stats
...
Add PeerConnection.GetStats() call with a Type Switch
2024-08-26 16:14:11 -04:00
renovate[bot]
4a97b7d67e
Update golang Docker tag to v1.23
...
Generated by renovateBot
2024-08-16 18:50:27 -04:00
Pion
752e442994
Update CI configs to v0.11.15
...
Update lint scripts and CI configs.
2024-08-16 14:13:11 -04:00
Tristan Matthews
d54f7870eb
Only send PLIs for video tracks in examples
2024-08-15 19:15:04 -04:00
Sean DuBois
3aab0355e0
Upgrade dtls, ice, stun and turn
...
New major version of all packages caused by DTLS upgrade
2024-08-12 13:45:35 -04:00
Juliusz Chroboczek
f29ef99b22
Avoid leaking tickers
...
In Go 1.22 and earlier, a ticker needs to be explicitly stopped
when it's no longer useful in order to avoid a resource leak.
In Go 1.23 and later, an orphaned ticker will eventually be
garbage collected, but it's still more thrifty to stop it early.
2024-08-01 14:35:24 -04:00
AfonsoVi
35b3ae1bb5
Change time.Sleep to time.Ticker in the examples
2024-07-28 22:31:32 -04:00
Sean DuBois
8780e68cb7
Add nolint to examples
...
Ignore err from Fprintf
2024-07-18 15:40:11 -04:00
Sean DuBois
ce37669dda
Delete deadcode in pion-to-pion/answer
...
Was accidentally copied, never needed
2024-07-18 15:21:46 -04:00
Sean DuBois
09461d55a6
Remove examples/internal
...
Users find it frustrating that example code doesn't work out of tree.
This makes copying the examples out of the repo easier.
Relates to #1981
2024-05-20 10:54:16 -04:00
knowmost
a97c420d0c
Fix typos in multiple comments
2024-04-27 23:27:55 -04:00
cnderrauber
a9e88d2531
Add recvonly transceiver for simulcast video
...
Fix one of the layers can't send back video because
the transceiver is used for receiving.
2024-04-22 13:29:49 +08:00
hongkuang
bd25613af2
Fix typos across the project
2024-04-07 21:48:29 -04:00
Sean DuBois
1d451b568c
Update go.mod version to 1.19
...
Relates to pion/webrtc#2292
2024-04-02 22:54:57 -04:00
Stephan Rotolante
a8c02b0879
Add examples/whip-whep
...
Create WHIP/WHEP example works with OBS or browser
Resolves #2499
2024-03-24 20:24:32 -04:00
pengqiseven
94ac7794eb
Fix gramatical errors in comments
...
Removes repetitive words
2024-03-16 21:15:04 -04:00
Sean DuBois
fda6c4f836
Fix linter errors
...
golangci-lint upgrade to v1.56.2 added more checks
Relates to pion/.goassets#201
2024-03-16 21:09:38 -04:00
renovate[bot]
384d7d872c
Update golang Docker tag to v1.22
...
Generated by renovateBot
2024-02-08 13:52:21 +00:00
Sean DuBois
e409a1d9cc
Add ORTC Media examples
...
Resolves #379
2023-09-17 00:11:53 -04:00
Sean DuBois
9eded4ee7a
Fix ORTC example
...
README didn't describe how to get signaling into client 1
Relates to #379
2023-09-16 14:35:41 -04:00
Sean DuBois
34fe40e38b
Remove deprecated APIs
...
Delete everything that was marked as deprecated
2023-09-14 14:15:40 -04:00
Sean DuBois
b549c9580d
Enable Simulcast RTP Headers by default
...
Relates to #2557
2023-09-13 12:38:26 -04:00
WofWca
045f9f69fa
Fix potential deadlock in example
...
At the current state of the code the deadlock is not achievable,
but if 'bufferedAmountLowThreshold' and 'maxBufferedAmount' were to
get changed up, it could happen.
Example: If 'bufferedAmountLowThreshold = 1024',
'maxBufferedAmount = 1280', then if a message of len 999 is sent,
'BufferedAmount()' could return '999', and the condition would still
evaluate to 'true' (999 + 999 > 1280).
Since 'bufferedAmountLowThreshold' was never exceeded, the
'OnBufferedAmountLow' event would never fire, so we're stuck.
2023-09-11 19:02:09 -04:00
Sean DuBois
f66b8b6ce2
Update examples to handle going to Closed
...
Relates to #1767
2023-09-08 16:20:12 -04:00
Sean DuBois
bbf51266ad
Remove $GOPATH from documentation
...
Project layout is flexible now with modules
2023-09-05 13:51:09 -04:00
Sean DuBois
50301ea73c
Update docs to use go install
...
`go get` is not a supported method to install binaries anymore
2023-09-05 13:17:23 -04:00
Sean DuBois
5aa5fac6ea
Remove GO111MODULE from docs
2023-09-05 11:48:14 -04:00
Sean DuBois
dc4b591c4d
Start pion/webrtc/v4
...
60eea43
is a breaking change
2023-09-05 11:48:14 -04:00
renovate[bot]
ea23dec2b9
Update module transport, srtp, ice and turn
...
ReplayDetector introduced a breaking change
2023-09-03 23:59:43 -04:00
Hao
1390b16097
Fix typo 'Renegotation' across project
...
'Renegotation' -> 'Renegotiation'
2023-08-24 14:14:29 -04:00
renovate[bot]
cedd45fc3b
Update golang Docker tag to v1.21
...
Generated by renovateBot
2023-08-17 20:26:37 +00:00
Sean DuBois
90e3a83b57
Add support to AV1 in play-from-disk
...
Resolves pion/rtp#190
Resolves pion/rtp#191
2023-07-20 19:42:44 -04:00
Kunal
4f1d46fe0d
Improvement to rtp-to-webrtc example
2023-06-07 15:06:16 -04:00
Steffen Vogel
683fc837d0
Make repo REUSE compliant
2023-05-05 11:58:49 -04:00
Sean DuBois
2bf94861c0
Add examples/stats
...
Example demonstrates how to use the new webrtc-stats interceptor
2023-04-26 13:33:24 -04:00
Sean DuBois
03c83a178c
Use new intervalpli interceptor in examples
...
Instead of manually spawning a goroutine this demonstrates how an
interceptor can be useful.
Co-authored-by: Antoine Baché <antoine@tenten.app >
2023-04-25 22:25:56 -04:00
Pion
308f8616a3
Update CI configs to v0.10.6
...
Update lint scripts and CI configs.
2023-04-08 14:24:19 -04:00
Yutaka Takeda
b6191eb14b
Fix potential deadlock in the example
...
Use bufferred channel (size 1) with select{} on write to avoid potential
deadlock
2023-03-26 23:39:32 -04:00
mohammadne
fba48cda24
Add Mermaid Chart to examples/data-channels
...
Start new architecture section
2023-02-11 00:48:47 -05:00
Steffen Vogel
eafdc7742a
Use new pion/transport Net interface
...
This change adapts pion/ice to use a new interface for most network
related operations. The interface was formerly a simple struct vnet.Net
which was originally intended to facilicate testing. By replacing it
with an interface we have greater flexibility and allow users to hook
into the networking stack by providing their own implementation of
the interface.
2023-02-09 09:39:33 +01:00
renovate[bot]
3dd11049f6
Update golang Docker tag to v1.20
...
Generated by renovateBot
2023-02-03 08:13:21 +00:00
Artur Shellunts
2e42dfdd4b
Add test for pion-to-pion example
...
Also add new GitHub Actions workflow to run tests for example apps
2022-11-05 18:35:24 +01:00
Artur Shellunts
25624d6371
Simplify docker compose file of pion-to-pion
...
Removed unnecessary properties from docker-compose file. hostname by
default is equal to service name. Custom container_name and port
mapping are also not needed for the example.
2022-11-03 17:28:04 +01:00
Mathis Engelbart
6b1e68413b
Fix pion-to-pion example in docker-compose
...
Fixes the command line arguments to use correct addresses and uses go
install instead of now unsupported go get.
2022-11-01 16:22:38 +01:00
Eric Fontaine
c132bedfe9
Fix ice-single-port example README
...
Number of connections are 10.
2022-10-31 20:28:23 +01:00
Sean DuBois
9c47fea3f2
Remove new RTCSessionDescription
pattern
...
SetRemoteDescription accepts a RTCSessionDescriptionInit so this is no
longer needed
Resolves #2324
2022-10-24 22:36:30 -04:00
cnderrauber
9030083fa5
Update pion/ice for UDPMux
...
Update pion/ice for UDPMux, also update example
2022-10-11 17:06:06 +08:00
renovate[bot]
176b183c4b
Update golang Docker tag to v1.19
...
Generated by renovateBot
2022-09-26 17:22:19 +00:00
Mathis Engelbart
cecdbc9980
Use a new error variable to avoid race condition
...
The error was reused by two goroutines simultaneously.
Fixes #2203
2022-05-06 12:02:43 -04:00
Pion
c1467e4871
Update CI configs to v0.7.2
...
Update lint scripts and CI configs.
2022-04-27 23:00:19 -04:00