Giter VIP home page Giter VIP logo

Comments (13)

nocturnalprelude avatar nocturnalprelude commented on August 15, 2024

on which device are you doing testing ? what quality parameters did you try ?

from libstreaming.

khurramengr avatar khurramengr commented on August 15, 2024

@nocturnalprelude, @fyhertz i've tried on Galaxy S3 and Galaxy Nexus with following parameters
1: VideoQuality(640,480,30,500000)
2: VideoQuality(320,240,20,500000)
but in both the cases it happens most of the times that recorded video is Greenish, blocky and jaggy...
is there any Video Quality parameter that is sure to be smooth across all the devices???

from libstreaming.

nocturnalprelude avatar nocturnalprelude commented on August 15, 2024

I've tried "320x240, 30 fps, 1000 Kbps" on Samsung Galaxy S3 and it works well... not perfect.
On Nexus devices, video is greenish, blocky and jaggy :-(

from libstreaming.

khurramengr avatar khurramengr commented on August 15, 2024

@nocturnalprelude do you think 1000 kbps bit rate is enough???
because even the samples for Libstreaming are using more than 100,000 kbps.........

from libstreaming.

nocturnalprelude avatar nocturnalprelude commented on August 15, 2024

@khurramengr in libstreaming examples I see that bigger value is: "640x480, 30 fps, 600 Kbps"
less than 1000 so...

from libstreaming.

khurramengr avatar khurramengr commented on August 15, 2024

@nocturnalprelude i've tried with your parameters but still the recorded stream contains blocky patches.
Is there anything else i need to change in code other than VideoQuality in order to get rid of blocky, and greenish patches????
Can you please share your code????

from libstreaming.

nocturnalprelude avatar nocturnalprelude commented on August 15, 2024

@khurramengr did you force the streaming with MediaRecorder ?

from libstreaming.

khurramengr avatar khurramengr commented on August 15, 2024

@nocturnalprelude no i didn't............

from libstreaming.

themagge avatar themagge commented on August 15, 2024

im using http://www.dr-lex.be/info-stuff/videocalc.html to calc the bitrate
works wonders

from libstreaming.

nocturnalprelude avatar nocturnalprelude commented on August 15, 2024

@khurramengr:

// Use this to force streaming with the MediaRecorder API
mSession.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIARECORDER_API);

from libstreaming.

khurramengr avatar khurramengr commented on August 15, 2024

@nocturnalprelude I've tried forcing streaming with MediaRecorder but still the issue persists.......

from libstreaming.

nocturnalprelude avatar nocturnalprelude commented on August 15, 2024

@khurramengr try this change:

#61

from libstreaming.

yxnyxnyxnyxn avatar yxnyxnyxnyxn commented on August 15, 2024

@nocturnalprelude which place should I add this:
// Use this to force streaming with the MediaRecorder API
mSession.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIARECORDER_API);

I have add following code in UriPaser.java, it seem does not work
if (videoApi>0 && session.getVideoTrack() != null) {
session.getVideoTrack().setStreamingMethod(MediaStream.MODE_MEDIARECORDER_API);
}
Thanks before
John

from libstreaming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.