Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Sample Broken #3

Open
tobeee opened this issue Feb 28, 2016 · 2 comments
Open

Video Sample Broken #3

tobeee opened this issue Feb 28, 2016 · 2 comments

Comments

@tobeee
Copy link

tobeee commented Feb 28, 2016

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'

@tobeee
Copy link
Author

tobeee commented Mar 6, 2016

SOLUTION - change the default tube name to "Default" and it should all work fine! Thanks to the guys at Backendless who figured it out. Leaving it here in case anyone else runs into the issue

@bizibizi
Copy link

Hi! Can you send me working sample please? I tried few days to make that work, but video do not appears in dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants