Commit Graph

17 Commits

Author SHA1 Message Date
cnderrauber
034ded2285 Add simulcast-codec for both video and audio (#789)
* Add simulcast-codec for both video & audio

* change test payload

* Solve comment
2025-10-29 15:14:32 +08:00
Raja Subramanian
6ac93dd428 Use error that self-check looks for (#713)
* Use error that self-check looks for

* error
2025-08-09 22:47:24 +05:30
Raja Subramanian
a9fd534c69 Signalling refactor (#701)
* v2 WIP

* add attributes

* WIP

* envelope as one of

* WIP

* starting signalling interfaces

* signal interface

* clean up

* clean up

* clean up

* deps

* delete unused

* staticheck config
2025-07-22 16:20:30 +05:30
Benjamin Pracht
a3cf5f4c2d Do not attempt to send an offer if the PCTransport was closed (#562) 2024-11-15 09:50:35 -08:00
Paul Wells
3ff4409bc8 lock while accessing engine publisher/subscriber (#412)
* lock while accessing engine publisher/subscriber

* cleanup

* cleanup

* cleanup

* timer

* tidy
2024-03-06 14:52:28 -08:00
David Zhao
4aba23bfa8 license headers (#283) 2023-07-27 16:20:52 -07:00
Raja Subramanian
7b843d0477 More granular errors (actually only one more). (#219)
* More granular errors (actually only one more).

Main goal of this is to distinguish whether connection
to the controller (signal channel) failed or if that succeeded,
but could not get a media node for the connection.

In the current scheme of things, if websocket dial fails,
a simple http.Get is done on `/rtc/validate` endpoint to understand the
error better.

Just adding one more error return type.
I think if the error is `ErrCannotConnectSignal`, that is the one case
where the media node could not be found.

Also logging the websocket dial error and HTTP response as that method
can return the HTTP response (if any) along with error `ErrBadHandshake`
for things like redirect, auth etc. Want to observe what that returns
and check if we can do an early return for dial failures.
NOTE: Things could change between the web socket dial and the second
http.Get. So, it woul dbe nice to see if we can make a decision purely
based on websocket dial return value.

* log get error also
2023-04-30 10:00:47 +05:30
David Zhao
2b8cc327d0 Return error messages from the server with Connect & Room.Join (#185)
Fixes #177
2023-02-12 23:36:12 -08:00
Benjamin Pracht
e0a384491e Add the room name in the auth claims (#113) 2022-08-04 16:23:09 -07:00
David Zhao
886305958e Rejects empty URLs during connect (#86) 2022-07-12 23:26:38 -07:00
Dennis Wirya
e6ee6f5340 Publish from stdin (#64) 2022-05-30 22:56:34 -07:00
Markus Lanner
a300352438 returning an error when track is not found in UnpublishTrack (#62)
* returning an error when track is not found in `UnpublishTrack`

* fixed static check, `error strings should not be capitalized (ST1005)`
2022-05-16 23:40:55 -07:00
David Zhao
0169a734c0 Track settings APIs (#44) 2022-02-22 17:40:57 -08:00
David Zhao
ae1f6617c2 Publish video/audio files as tracks (#17)
* Publish H.264, Opus, VP8 files as tracks

* improve samplewriter interface

* fixed synchronization in h264, provides audio level

* updated readme

* docs update

* docs about custom sampleprovider

* updated example filenames
2021-09-20 17:26:48 -07:00
David Zhao
9771b9aa32 Track publishing 2021-05-13 22:21:10 -07:00
David Zhao
39d8cf8b10 renamed package to lksdk 2021-03-18 14:45:01 -07:00
David Zhao
604a9bc8a2 RTCEngine & fleshed out signal client 2021-03-15 15:35:25 -07:00