![]() _channel?.update(withNewConfig: channelConfig) ĬhannelConfig?.setEnableRtmp(omValue(false)) Ĭonst channelClaims = Ĭonst channelConfig = new fm.liveswitch. Controls Style: Universal-Player by U Pro, customized video player This player is compatible, Akamai Flash HD, RTMP, Pseudo-streaming, Silverlight AND HTM5. To embed an player in our web page, let’s create two empty files: player-min.html and player-min.js. Code: Only needed if the stream type is rtmp. Step-by-step instructions for embedding player to an HTML page. Send the update - the _channel object here is returned when calling `_client?.register(withToken: theToken)`. Tool to generate the html code that make the player works. ![]() Let channelConfig = FMLiveSwitchChannelConfig.init() ĬhannelConfig?.setEnableRtmp(omValue(true)) Create a registration token with your ChannelClaims then call `_client?.register(withToken: theToken)`. Let theClaim: FMLiveSwitchChannelClaim = FMLiveSwitchChannelClaim.init() To stop the RTMP stream, set enableRtmp to false and send the updateĬtEnableRtmp(NullableBoolean.falseValue()) Send the update - the channel object here is returned when calling `client.register(token)`. Create a new ChannelConfig, and set enableRtmp to true.įinal ChannelConfig channelConfig = new ChannelConfig() ĬtEnableRtmp(ueValue()) Create a registration token with your ChannelClaims then call `client.register(token)`. Prior to registration, ensure that you create a channel claim with the CanUpdate property set to true.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |