gapu / google-cast-sdk

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

iOS Sender API crashes receiver when sending video before any other sender #604

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

I will provide our sample app that reproduces this behavior.  Please let me 
know if you need more detailed information: 

#Setup the Sample App
1. Checkout https://github.com/ooyala/ios-sample-apps
2. Open up ChromecastSampleApp/ChromecastSampleApp.xcodeproj
3. Run the app, confirm that you see a list of videos. You will see the cast 
button in the top right corner
4. Choose "MP4 Video", confirm that video is playing back on the iOS device
5. Close the app

# Hard-boot the Chromecast, cast Video
1. Unplug the MicroUSB wire from the Receiver (turn off the chromecast)
2. Re-plug the wire to the receiver (turn it back on)
3. Open up the ChromecastSampleApp.  Stay on the List view
4. select your Chromecast Device from the list of devices.  Confirm the 
"Ooyala" logo on the Receiver
5. Select "MP4 Video" on the sender.  Observe the video to load in a red square 
on the Sender, and the video load on the Receiver
6. Observe video to start playing back on the Receiver.  Note that the video 
freezes at around the 2 second mark, then the 3 second mark, then crashes, and 
restarts

What is the expected output? What do you see instead?
The chromecast should not crash

What version of the product are you using? On what operating system?

iPad Air 2, iOS Version 8.1.1

The Sample apps use GoogleCastFramework-2.4.0-Release, but I have tested with 
GoogleCast framework version 2.7.1.2664 and have seen the same results.

Have tried on both a production Chromecast, and a Chromecast with 
"clients3.google.com Build=1.14.32904, Channel=cpe-mpl-beta-channel"

Receiver App ID "4172C76F"

Please provide any additional information below.

The issue does NOT manifest when you:
#Hard-boot the Chromecast
#Cast video using our Android sample application (I can provide that 
information if necessary)
#Stop casting on Android (Unload our receiver application)
#Cast video using our iOS sample application

This is why I do not believe this is an Application code issue, and I do not 
believe this is a Receiver code issue, but some strange netcode

I have attached logs from our receiver when it failed, if it would help. 

Instead of attaching video, I've provided this video through drive: 
https://drive.google.com/file/d/0B7QU8YSzlI2ZUlljQUNTWTJZVGc/view?usp=sharing

Original issue reported on code.google.com by michael....@ooyala.com on 27 Jun 2015 at 12:11

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for reporting the issue. We are trying to reproduce this issue, 
please be patient.

Original comment by na...@google.com on 8 Jul 2015 at 9:33

GoogleCodeExporter commented 9 years ago
We could not reproduce this issue. The mp4 stream plays completely fine till 
the end on the receiver (without freeze/crash) while casting from an iPad Air. 
Please verify your testing environment for any error that could be causing the 
issue.

Please feel free to report back with further details if the issue persist. We 
would be happy to help you with it.

Original comment by na...@google.com on 16 Jul 2015 at 7:29