Skip to content

Video Sample Broken #3

@tobeee

Description

@tobeee

Hi guys,

The included Video sample is quite error prone. I have managed to record some videos, which I have checked have been uploaded by looking on the Dashboard.

(For reference if you upload a file that already exists you will have an error... is there some way to replace existing videos with new ones?

However, playback function doesn't work at all. The error message is as follows:

----------------------- playbackControl ------------------------------------------------------
2016-02-28 22:00:02.761 VideoService[633:35089] MediaService -> playbackStream: options = <MediaPlaybackOptions: 0x15e810a0>
2016-02-28 22:00:02.769 VideoService[633:35089] >>>>>>>>>>>>>>>>>> MediaPlaybackOptions -> getServerURL: rtmp://media.backendless.com:1935/mediaAppVod/definst
Setting buffer duration to: 0.064000
2016-02-28 22:00:03.061 VideoService[633:35089] MPAudioUnitEngine -> setupAudioSession: (ERROR) Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)"
AVAudioSession: sampleRate=16000.000000, buffer duration: 0.016000, inputChannels = 1, outputChannels = 2
2016-02-28 22:00:03.167 VideoService[633:35089] MediaPlayer -> parameters:(
"REDACTED",
v1,
"",
videoTube,
playRecorded
)
2016-02-28 22:00:03.168 VideoService[633:35104] MPMediaDecoder -> playing: try to open the stream rtmp://media.backendless.com:1935/mediaAppVod/definst/test ...

2016-02-28 22:00:03.169 VideoService[633:35104] MPMediaDecoder -> openStream: rtmp://media.backendless.com:1935/mediaAppVod/definst/test

rtmp_buffer=0

rtmp_conn=S:12175C44-3AEE-25EE-FF13-5CF260E81000 S:v1 Z: S:videoTube S:playRecorded

[rtmp @ 0x15d8e900] Unknown connect error (unsupported authentication method?)
[rtmp @ 0x15d8e900] Server error: Connection failed: Application rejected connection.
2016-02-28 22:00:03.715 VideoService[633:35104] MPMediaDecoder -> avformat_open_input() (stream = 'rtmp://media.backendless.com:1935/mediaAppVod/definst/test'): -833925547 'Unknown error occurred'
2016-02-28 22:00:03.716 VideoService[633:35104] MPMediaDecoder -> playing: stream is not opened, wait about 1 sec
2016-02-28 22:00:03.716 VideoService[633:35089] MediaPlayer connectFailedEvent: -833925547 = Unknown error occurred
streamConnectFailed: -833925547 = Unknown error occurred
----------------------- stopMediaControl ------------------------------------------------------
2016-02-28 22:00:04.812 VideoService[633:35104] MPMediaDecoder -> playing: try to open the stream (null) ...

2016-02-28 22:00:04.814 VideoService[633:35104] MPMediaDecoder -> openStream: unknown

rtmp_buffer=0

rtmp_conn=S:12175C44-3AEE-25EE-FF13-5CF260E81000 S:v1 Z: S:videoTube S:playRecorded

2016-02-28 22:00:04.815 VideoService[633:35104] MPMediaDecoder -> avformat_open_input() (stream = '(null)'): -816688904 'Protocol not found'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions