Quantcast
Channel: Kaltura - Latest topics
Viewing all articles
Browse latest Browse all 2994

Player state is changing very frequently iOS

$
0
0

@gudkesh_kumar wrote:

I have this problem, when a video starts playing and the player state keeps changing from KPMediaPlaybackStatePlaying to KPMediaPlaybackStatePaused and vice versa. This behaviour is always there through out the video play. We have hidden the default controls of the player and added our custom controls. Config code and delegate Method is given below.

   conf.addKey("EmbedPlayer.NativeControls", withValue: "true")
    conf.addKey("autoPlay", withValue: "true")
    conf.addKey("largePlayBtn.plugin", withValue: "false")

func kPlayer(_ player: KPViewController!, playerPlaybackStateDidChange state: KPMediaPlaybackState) {

    //if KPMediaPlaybackState.playing

    print("PlaybackState  ", state.rawValue)

}

The debug logs are given below. And My Config details are as given below

"entryID": "1_0kkk6493",
"partnerID": "2232581",
"uiconfigID": "37768731"

PlayerSDK version is ~> 2.6.9

2017-02-09 16:48:21.038 KalturaPlayerDemoUI[6919:93307] true
2017-02-09 16:48:21.039 KalturaPlayerDemoUI[6919:93307] false
2017-02-09 16:48:21.040 KalturaPlayerDemoUI6919:93307
PlaybackSate 3
2017-02-09 16:48:21.043 KalturaPlayerDemoUI6919:93307
PlaybackSate 4
2017-02-09 16:48:21.045 KalturaPlayerDemoUI6919:93307
PlaybackSate 3
2017-02-09 16:48:21.147 KalturaPlayerDemoUI6919:93307
PlaybackSate 3
2017-02-09 16:48:21.149 KalturaPlayerDemoUI6919:93307
PlaybackSate 4
2017-02-09 16:48:21.159 KalturaPlayerDemoUI6919:93307
PlaybackSate 4
2017-02-09 16:48:21.160 KalturaPlayerDemoUI6919:93307
PlaybackSate 3

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2994

Trending Articles