You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void startStream(){
mCameraHelper.startPusher(new AbstractUVCCameraHandler.OnEncodeResultListener() {
@Override
public void onEncodeResult(byte[] data, int offset, int length, long timestamp, int type) {
Toast.makeText(getContext(), "HERE", Toast.LENGTH_SHORT).show();
Log.d(TAG, String.valueOf(data.length));
if (type == 1) {
String URL = "rtmp://192.168.1.107:1935/live/test";
rtmpMuxer.open(URL, 640, 480);
rtmpMuxer.writeVideo(data, offset, length, timestamp);
Toast.makeText(getContext(), "STREAMING", Toast.LENGTH_LONG).show();
}
// type = 0,aac audio stream
if(type == 0) {
}
}
@Override
public void onRecordResult(String videoPath) {
}
});
//mCameraHelper.startPusher((AbstractUVCCameraHandler.OnEncodeResultListener) newListener);
}
using the above code i want to publish the streams. i am unable to.
i am getting an error INVALID ID 0x00070800.
should i encode the data bytes to anything else before sending?
The text was updated successfully, but these errors were encountered:
Hi @MattWanjia ,
Thank you for creating the issue.
We aren't available to help you at this time because we currently don't have the bandwidth to maintain this library. It may change if we collaborate in a win-win manner.
If you would like to discuss a win-win collaboration, please reach out to [email protected]
I am using a usb camera to capture streams using the repo https://github.com/quantum6/Android-USB-OTG-Camera
The text was updated successfully, but these errors were encountered: