Mavic AIR SDK Video Format
If I run this code on the Mavic AIR, what format will the output stream be???? Seems to be H264 but some unknown framing???
@Override
public void onReceive(byte[] videoBuffer, int size) {
if(mCodecManager != null){
mCodecManager.sendDataToDecoder(videoBuffer, size);
}
try {
DatagramPacket packet = new DatagramPacket(videoBuffer, size, videoIPString, videoPort);
mGstSocket.send(packet);
} catch (Exception e) {
Log.e(TAG, "Error sending packet to Gstreamer", e);
}
}
};
Please sign in to leave a comment.
Comments
0 comments