Backendless Support
 
Answered

Getting Issue in Backendless Media Services

Hi I am getting following error in the backendless Media services in version 3 of backendless

RTMPClient -> eventFailed: code = -7, description = fault code = -1 < Input or/and Output Stream is not opened (-1) >, calls = 0

I cant seem to find any reference for it in the backendless docs.

Can you tell me what seems to be the issue here

Leave a Comment

Comments (3)

photo
1

Hi, Umer Naseer.

What SDK do you use?

Could you post here code snippet where this error occurs?

photo
1

Oleg Vyalyh ,I am using this version

  1. pod 'Backendless-ios-SDK', '3.0.33'

And here is the code where i am getting the error:

  1. MediaPublishOptions *options = _switchView.on? [MediaPublishOptions liveStream:self.preview] : [MediaPublishOptions recordStream:self.preview];
  2. options.videoCodecId = MP_VIDEO_CODEC_H264;
  3. options.audioCodecId = MP_AUDIO_CODEC_AAC;
  4. options.orientation = AVCaptureVideoOrientationPortrait;
  5. options.resolution = RESOLUTION_VGA;
  6. _publisher =[backendless.mediaService publishStream:_streamName tube:VIDEO_TUBE options:options responder:self];

photo
1

Umer,

We do not support the media services anymore, that functionality has been disabled in Backendless.

Regards,

Mark