tulei555 / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 1 forks source link

Seek doesn't work in some specific case #796

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
- try to play a Live Manifest with options to rewind and forward (once chunks 
become available). In other words, a stream with an option to watch form the 
beginning while stream still is live.
- count of chunks in the manifest grows each time while live
- perform seek on position < available duration

What do you see instead?
Streaming continues from previous position.

Please see excerpts from full log attached:

------
cast_receiver.js:45 [ 50.124s] [cast.receiver.IpcChannel] Received message: 
{"data":"{\"type\":\"SEEK\",\"currentTime\":557.755126953125,\"mediaSessionId\":
1,\"requestId\":6}","namespace":"urn:x-cast:com.google.cast.media","senderId":"9
:4843FABA-90F2-4CE8-8E6E-555B499AE5B8"}
cast_receiver.js:45 [ 50.132s] [cast.receiver.CastMessageBus] Dispatching 
CastMessageBus message
cast_receiver.js:45 [ 50.137s] [cast.receiver.MediaManager] MediaManager 
message received
cast_receiver.js:45 [ 50.149s] [cast.receiver.MediaManager] Dispatching 
MediaManager seek event
cast_receiver.js:45 [ 50.169s] [cast.receiver.MediaManager] onSeek: 
{"currentTime":557.755126953125,"mediaSessionId":1,"requestId":6}

------

media_player.js:22 [ 50.001s] [cast.player.api.Player] seeking
media_player.js:22 [ 50.011s] [cast.player.core.SegmentManager] 0: reset
media_player.js:22 [ 50.021s] [cast.player.core.SourceBufferManager] 0: queue 
remove
media_player.js:22 [ 50.028s] [cast.player.core.SourceBufferManager] 0: queue 
abort
media_player.js:22 [ 50.034s] [cast.player.core.SegmentManager] 1: reset
media_player.js:22 [ 50.039s] [cast.player.core.SourceBufferManager] 1: remove
media_player.js:22 [ 50.045s] [cast.player.core.SourceBufferManager] 1: queue 
abort
media_player.js:22 [ 50.271s] [cast.player.core.SegmentManager] 0: seek success 
48
media_player.js:22 [ 50.281s] [cast.player.core.SegmentManager] 0: process 
segment
media_player.js:22 [ 50.289s] [cast.player.core.SegmentManager] 0: segment 
processed

-----

What is the expected output? What do you see instead?
'SEEK' works in this situation.

What version of the product are you using? On what operating system?
CastReceiver Version: 2.0.0.0041
iOS SDK 2.10.2
Player API Version: 1.0.0.29

Please provide any additional information below.
See logs.

It's related to https://code.google.com/p/google-cast-sdk/issues/detail?id=764 
and
https://code.google.com/p/google-cast-sdk/issues/detail?id=734
Please, pay attention to last comments.

Original issue reported on code.google.com by KarsekaAM on 25 Mar 2016 at 8:51

Attachments:

GoogleCodeExporter commented 8 years ago
We will look into the issue and update here soon

Original comment by vinot...@google.com on 25 Mar 2016 at 11:34