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

Library update #13

Closed
iSinch opened this issue Aug 26, 2016 · 14 comments
Closed

Library update #13

iSinch opened this issue Aug 26, 2016 · 14 comments

Comments

@iSinch
Copy link

iSinch commented Aug 26, 2016

Hello :)
I see that you have an update in your project and edit some methods
Can you update gradle dependencies and readme in GitHub?

@mekya
Copy link
Contributor

mekya commented Aug 31, 2016

:) Thank you.

Updated.

Ok?

@iSinch
Copy link
Author

iSinch commented Sep 1, 2016

@mekya thanks' u :)
Could you tell me,please, how can I decode to h264 frames from camera ?

UPD - ENCODE to

@mekya
Copy link
Contributor

mekya commented Sep 2, 2016

Decoding h264 frames is actually a different job. What do you want to do by decoding frames?

You may want to look at some projects about that.
https://github.com/artclarke/humble-video
https://ffmpeg.org/

@iSinch
Copy link
Author

iSinch commented Sep 5, 2016

What do you want to do by decoding frames?

It's for write in your library.

Write h264 nal units with this function

@iSinch
Copy link
Author

iSinch commented Sep 14, 2016

Ops, my mistake: I mean how to ENCODE frames from camera to h264*

@mekya
Copy link
Contributor

mekya commented Sep 15, 2016

Hi @iSinch ,

I recommend you to use Android Media Codec
https://developer.android.com/reference/android/media/MediaCodec.html

Probably you may want to look at a sample code. Here is the grafika
https://github.com/google/grafika

Nevertheless, it seems a little complex at first glance.

Sorry for late reply.

@justinshaohi
Copy link

Hello @mekya
is it only support publish h264 ?

@mekya
Copy link
Contributor

mekya commented Sep 21, 2016

Yeah unfourtunately muxer supports only H264. Sorry for that :(

On Tue, Sep 20, 2016 at 12:30 PM, justinshaohi notifications@github.com
wrote:

Hello @mekya https://github.com/mekya
is it only support publish h264 ?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADS8-_JnorTS1SSOD1FdVV4WLL79v-i3ks5qr6fKgaJpZM4JtzeO
.

@justinshaohi
Copy link

hi @mekya
i want to publish,i call native methon open(rtmpurl,width,height) firstly, it return -3。
that why?
sorry for my poor c++ :(

@mekya
Copy link
Contributor

mekya commented Sep 22, 2016

Hi @justinshaohi

Hmm -3 means there is a problem in connecting to server

https://github.com/ButterflyTV/LibRtmp-Client-for-Android/blob/28d531cd6999960dcb9156d2ff2ff9e433c9c55c/rtmp-client/src/main/jni/flvmuxer/xiecc_rtmp.c#L167

Please make sure your server is configured correctly and accepts your connection.

@iSinch
Copy link
Author

iSinch commented Sep 22, 2016

@mekya
Hey )
I have a suggestion - MayBe you modify return new value ? for example, when server respone code 403 ?

@mekya
Copy link
Contributor

mekya commented Sep 22, 2016

Yeah @iSinch you're right. Do you ever think modifying this code and making a pull request?

@iSinch
Copy link
Author

iSinch commented Sep 27, 2016

@mekya I will make it soon

@mekya
Copy link
Contributor

mekya commented Dec 3, 2016

Hey @iSinch,
Closing this issue. You can make pull request whenever you are ready.

Cheers
m.

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

3 participants