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);
}
}
};
请先登录再写评论。
评论
0 条评论