• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
  • DEVELOPER
  • SOLUTIONS
  • PRICING
  • RESOURCES
  • SUPPORT
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster Pro
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Articles
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza GoCoder SDK /
avatar image
Question by Bhavesh Desai · Jun 24 at 02:50 PM · androidgocoder app

Incomplete video record after end broadcast, How to fix this or wait for a time to upload buffered video?

I am using Wowza Go-coder Android SDK and i am following provided Android sample.

I am able to record live video to stream engine. But after calling end broadcast it not uplaod/save last few or more recorded second.

e.g. If i am recording 60 secs it only save 20 secs or 30 secs only its less than actual recorded duration.

And also sometime i am getting error "A error occurred writing to the open broadcast connection" after calling end broad cast.

I appreciate if you help to overcome this problem.

I am waiting for your support and help.

Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Rose Power-Wowza Community Manager · Jun 25 at 06:47 PM

Hello @Bhavesh Desai, I'd be happy to try and help.

These errors suggest a full internet issues that caused a disconnection.

If there was not a full disconnection you can improve your chances of holding onto the stream with the below ABR params:

Here are detailed descriptions for the ABR-related parameters available in the WOWZMediaConfig class of the Android SDK...

The LowBandwidthScalingFactor property is the factor by which to scale the desired bitrate in low bandwidth conditions. Valid range is 0.0 to 1.0; any other value will be ignored. Setting a value of 0.0 indicates that the encoder should choose the best value; setting a value of 1.0 indicates that bitrate will never be throttled. The default is 0.75.

The FrameBufferSizeMultiplier property is the value by which to multiply the video frame rate to derive the number of video frames to buffer before the encoder starts to throttle bitrate and/or frame rate. For example: if the frame rate is 30 and the videoFrameBufferSizeMultiplier is 5, the encoder will buffer 150 (5 * 30) frames before throttling. Setting a value of 0 indicates that the encoder should choose the best value. The default value is 4.

The FrameRateLowBandwidthSkipCount property is the number of frames to skip when the encoder cannot keep up with the broadcaster. In low bandwidth conditions the encoder will skip frames to conserve bandwidth but still send consistent frames so the encoder can produce smooth playback. The maximum number of frames that can be skipped is equal to the key frame interval minus one - i.e. setting this to 29 with a key frame interval of 30 will produce a key frame only stream, setting to 1 will never skip frames. The default is 4 meaning skip 1 of every 4 frames.

Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bhavesh Desai · Jun 26 at 06:08 AM 0
Share

Thanks for reply.

Is there any callback method that notify that all captured frames are encoded and transmitted after End Broadcast?

avatar image

Answer by Rose Power-Wowza Community Manager · Jun 25 at 06:56 PM

You should be able to record the entire stream to an mp4 file in the SDK. Have you seen the Capture Activity sample code on our GitHub.

https://github.com/WowzaMediaSystems/gocoder-sdk-samples-android/blob/master/gocoder-sdk-sample-app/src/main/java/com/wowza/gocoder/sdk/sampleapp/mp4/MP4CaptureActivity.java

Comment

People who like this

0 Show 1 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bhavesh Desai · Jun 26 at 10:32 AM 0
Share

We don't need to store any local file. And rest same as implement for base app.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Android MinSdk Level 21 required. 1 Answer

How to stop broadcast on 'Starting' phase on Android? 3 Answers

How to get GoCoder License key for android and ios application id? 2 Answers

Release wowza on service 2 Answers

Applicatin Hangs when we END BROADCAST ? 0 Answers

Hot Topics
  • Streaming Protocols
  • Wowza SDKs
  • AWS Hosting
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Partners
  • Partners Overview
  • Find a Reseller
  • Channel Partner Program
  • OEM Program
  • Wowza Reseller Portal
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Contact Us
Stay Connected
Sign Up for Our Blog
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2019 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster Pro
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Articles
  • Users
  • Badges