java-airplay icon indicating copy to clipboard operation
java-airplay copied to clipboard

[Feature request] H264 dump with audio

Open JellyBrick opened this issue 1 year ago • 0 comments

https://github.com/serezhka/java-airplay/blob/9eef60f9d13fcbc3ecb4246d481164aaa54a35a1/player/h264-dump/src/main/java/com/github/serezhka/airplay/player/h264dump/H264Dump.java#L26-L41

to (e.g)

 @Override 
 public void onVideo(byte[] bytes) { 
     try { 
         videoFileChannel.write(ByteBuffer.wrap(bytes)); 
     } catch (IOException e) { 
         e.printStackTrace(); 
     } 
 } 
  
 @Override 
 public void onVideoSrcDisconnect() { 
 } 
  
 @Override 
 public void onAudio(byte[] bytes) { 
     try { 
         audioFileChannel.write(ByteBuffer.wrap(bytes)); 
     } catch (IOException e) { 
         e.printStackTrace(); 
     } 
 } 

I think it would be great to have the ability to export video and audio streams together.

JellyBrick avatar Jun 02 '23 08:06 JellyBrick