-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #869 from 100mslive/develop
Release 0.7.7: Develop to main
- Loading branch information
Showing
56 changed files
with
2,784 additions
and
2,466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
android/src/main/kotlin/live/hms/hmssdk_flutter/HMSSessionMetadataExtension.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package live.hms.hmssdk_flutter | ||
|
||
class HMSSessionMetadataExtension { | ||
companion object{ | ||
fun toDictionary(metadata: String?):HashMap<String,Any?>?{ | ||
|
||
val hashMap=HashMap<String,Any?>() | ||
|
||
hashMap["metadata"] = metadata | ||
|
||
return hashMap | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackInitStateExtension.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package live.hms.hmssdk_flutter | ||
|
||
import live.hms.video.media.settings.HMSTrackSettings | ||
|
||
class HMSTrackInitStateExtension { | ||
companion object{ | ||
fun getHMSTrackInitStatefromValue(value:String):HMSTrackSettings.InitState{ | ||
return when(value){ | ||
"MUTED" -> HMSTrackSettings.InitState.MUTED | ||
"UNMUTED" -> HMSTrackSettings.InitState.UNMUTED | ||
else->HMSTrackSettings.InitState.MUTED | ||
} | ||
} | ||
|
||
fun getValueFromHMSTrackInitState(hmsTrackInitState:HMSTrackSettings.InitState):String{ | ||
return when(hmsTrackInitState){ | ||
HMSTrackSettings.InitState.UNMUTED-> "UNMUTED" | ||
HMSTrackSettings.InitState.MUTED-> "MUTED" | ||
else->"MUTED" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.