Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: httpCupertinoStreamingSession.rejectSession() kills iPhone mediaplayer

  1. #1

    Default httpCupertinoStreamingSession.rejectSession() kills iPhone mediaplayer

    Hi,

    I've created the module explained in http://www.wowzamedia.com/forums/con...nternal-method).

    When "isGood == true" all is working and the stream is starting.

    When ever httpCupertinoStreamingSession.rejectSession() is called, the mediaplayer and its parent process on the iPhone gets killed with a segfault. So if I start the stream with the safari on iPhone die player und safari gets killed. also my own app which is starting the stream gets killed, wenn .rejectSession is called.

    Not the best solution for deny access to a stream, I think...

    Andy advices?

    Here is the log output from wowza:

    Code:
    INFO application app-start _definst_ vod/_definst_
    INFO cupertino connect 519210380 -
    INFO stream create sample.mp4 -
    INFO server comment - ModuleEncryptionHandlerCupertinoStreaming.onHTTPCupertinoEncryptionKeyCreateVOD[vod/_definst_/sample.mp4]: *8434
    INFO server comment - HTTPStreamerCupertinoIndexFile.init[vod/_definst_/sample.mp4]: Encrypt Cupertino stream: key: *8434
    INFO server comment - HTTPStreamerCupertinoIndexFile.init[vod/_definst_/sample.mp4]: Encrypt Cupertino stream: url: http://192.168.47.102:1935/vod/_defi...p4/key.m3u8key
    INFO server comment - HTTPStreamerCupertinoIndexFile.init[vod/_definst_/sample.mp4]: Encrypt Cupertino stream: key: *66f4
    INFO server comment - HTTPStreamerCupertinoIndexFile.init[vod/_definst_/sample.mp4]: Encrypt Cupertino stream: url: http://192.168.47.102:1935/vod/_defi...p4/key.m3u8key
    INFO cupertino connect 736832565 -
    INFO stream create sample.mp4 -
    INFO server comment - ModuleEncryptionHandlerCupertinoStreaming.onHTTPCupertinoEncryptionKeyCreateVOD[vod/_definst_/sample.mp4]: *6848
    INFO server comment - HTTPStreamerCupertinoIndexFile.init[vod/_definst_/sample.mp4]: Encrypt Cupertino stream: key: *6848
    INFO server comment - HTTPStreamerCupertinoIndexFile.init[vod/_definst_/sample.mp4]: Encrypt Cupertino stream: url: http://192.168.47.102:1935/vod/_defi...p4/key.m3u8key
    INFO server comment - MediaReaderH264Cupertino.handlePacket[vod/_definst_/sample.mp4][avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: profile: "Baseline", level: 3.0, frameSize: 424x240, displaySize: 424x240, crop: l:0 r:4 t:0 b:0}
    INFO server comment - MediaReaderH264Cupertino.handlePacket[vod/_definst_/sample.mp4][mp4a.40.2]: AAC Audio info: {AACFrame: size: 0, rate: 48000, channels: 2, samples: 1024, errorBitsAbsent: true, profileObjectType: "LC"}
    ERROR server comment - userCount: 10013405
    INFO server comment - ModuleEncryptionHandlerCupertinoStreaming.onHTTPCupertinoEncryptionKeyRequest[vod/_definst_/sample.mp4]: accept:false
    INFO stream play sample.mp4 -
    INFO stream destroy sample.mp4 -
    INFO cupertino disconnect 519210380 -
    INFO stream stop sample.mp4 -
    INFO stream destroy sample.mp4 -
    INFO cupertino disconnect 736832565 -
    Last edited by funkdoobiest; 02-01-2011 at 02:19 AM.

  2. #2

    Default

    It sounds like an issue with the iOS player. We are sending back an HTTP response code of 403 (Forbidden). Are you writing an application or running it from Safari? Maybe there is more you need to do to trap exceptions in the media player.

    Charlie

  3. #3

    Default

    @richard it sounds right that the media player do a segfault? doesn't sound right for me.
    I expect a message from the media player that the stream could not be played or just close the player and not a segfault.

    @charly I tested both, running it from safari kills the player and safari. Running it from my app it kills the app. It's iOS 4.2.1.
    Last edited by funkdoobiest; 02-01-2011 at 06:02 AM.

  4. #4

    Default

    Charlie, you are right. It's an iOS issue. I tested it with an iPhone with iOS 4.1 and there it is working. Seems to be a problem with the newest stable version from iOS.
    Is there a possibility for a workaround? Anything I could try?

  5. #5

    Thumbs down

    Seems that a problem which can cause problems to million devices out there is not important enough.

  6. #6

    Default

    We lost track of this post. Richard or I will look at this today to see if we can reproduce it. Its sounds like an iOS bug.

    Charlie

  7. #7
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    I set it up in a vod app, tried with isGood = true, and the sample.mp4 video played. Then I tried with isGood = false, and it didn't play. After a few seconds I get a pop-up message "This movie could not be played". When I dismiss it, everything is okay. The browser is ready to try again or navigate elsewhere.

    Looking at the log output in the IDE console, everything seems right, and about like your log snip, which I don't see any problem related to iOS encryption.

    I don't see a segfault error anywhere.

    Richard

  8. #8

    Default

    Thanks for the feedback.
    Which device and iOS Version did you choose for testing?
    Can you give me a URL to test it with my iPhone?

  9. #9
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    I have IPhone 3gs with iOS 4.2 I think.

    Richard

  10. #10

    Default

    Quote Originally Posted by rrlanham View Post
    I have IPhone 3gs with iOS 4.2 I think.

    Richard
    I can reproduce the error on 3 different iPhone 4 with iOS 4.2.1.
    On iOS 4.1 on a 3GS there are now errors.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •