Skip to content

Commit

Permalink
Release v0.1.11 (#97)
Browse files Browse the repository at this point in the history
* Paralellized connection to Signaling Websocket and getting and setting local SDP.

* Updated eslintignore for local verification.

* Updated package lock from packages.

* Added parallelize set local description and send publish/view command.
Added new setSDPToPeer option for getLocalSDP. It will set the SDP to the peer if it's true (deafult and has the same behaviour as past implementation)

* Fix: Stereo flag (#94)

* Fix set stereo flag in both opus and multiopus SDP.

* Change stereo set order.
Now multiopus does not have stereo flag.

* Add multisource feature and DTX publish (#92)

* add getRTCPeerConnection to BaseWebRTC

* add multisource support

* add dtx support

* add dtx support

* do not add transceiver if media is disabled

Co-authored-by: Emil Santurio <[email protected]>
Co-authored-by: Renzo Delfino <[email protected]>
Co-authored-by: Renzo <[email protected]>

* Updated package version

* Change regex when setting Director domain for Safari compatibility. (#96)

* Updated SDK version

Co-authored-by: Sergio Garcia Murillo <[email protected]>
Co-authored-by: Emil Santurio <[email protected]>
  • Loading branch information
3 people authored Sep 8, 2021
1 parent 5d3fb20 commit 1c63143
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/millicast-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/millicast-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@millicast/sdk",
"version": "0.1.10",
"version": "0.1.11",
"description": "SDK for building a realtime broadcaster using the Millicast platform.",
"keywords": [
"sdk",
Expand Down
7 changes: 5 additions & 2 deletions packages/millicast-sdk/src/Director.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,11 @@ const getSubscriberOptions = (options, legacyStreamAccountId, legacySubscriberTo

const parseIncomingDirectorResponse = (directorResponse) => {
if (Director.getLiveDomain()) {
const domainRegex = /(?<=\/\/)(.*?)(?=\/)/
const urlsParsed = directorResponse.data.urls.map(url => url.replace(domainRegex, Director.getLiveDomain()))
const domainRegex = /\/\/(.*?)\//
const urlsParsed = directorResponse.data.urls.map(url => {
const matched = domainRegex.exec(url)
return url.replace(matched[1], Director.getLiveDomain())
})
directorResponse.data.urls = urlsParsed
}
return directorResponse
Expand Down

0 comments on commit 1c63143

Please sign in to comment.