public void setVideoDecoderConfiguration ( IRTMPEvent decoderConfig ) { if ( decoderConfig instanceof IStreamData ) { IoBuffer data = ( ( IStreamData < ? > ) decoderConfig ) . getData ( ) . asReadOnlyBuffer ( ) ; videoConfigurationTag = ImmutableTag . build ( decoderConfig . getDataType ( ) , 0 , data , 0 ) ; } }
Sets a video decoder configuration ; some codecs require this such as AVC .