<div dir="ltr">Hello everybody,<br><br>I need to show metadata information that attached by the Flash media server in RTMP streams, but according the reference in below, this information comes with the data key frames, does this mean I need to find this data in AVPacket structure ? <div>
<br></div><div>I've found AV_PKT_DATA_METADATA_UPDATE flag in AVPacket but there isn't any information in internet about what this value is for and how to use this value</div><div><br></div><div>Please help If you have any experience or have any info about this</div>
<div><br></div><div>Regards,</div><div><br></div><div>MG<br><div><br></div><div><p style="line-height:16.079999923706055px;color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif,SimSun-18030;font-size:11px">Flash Media Server can add data messages to the beginning of a live video stream. This metadata can contain information about the video, such as title, copyright information, duration of the video, or creation date. Metadata can also contain advertising information or current statistics like sports scores. Any client connecting to the server, even if they connect late, receives the metadata when the live video is played.</p>
<p style="line-height:16.079999923706055px;color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif,SimSun-18030;font-size:11px">The metadata you add is in the form of <i style="line-height:16.079999923706055px">data keyframes</i>. Each data keyframe can contain multiple data properties, such as a title, height, and width.</p>
<div class="" style="line-height:16.079999923706055px;padding:3px 0px 5px;margin:3px 0px 5px;font-style:italic;font-size:11px;color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif,SimSun-18030"><span class="" style="line-height:16.079999923706055px;font-weight:bold">Note: </span>Because DVR applications use recorded streams, you do not need to use data keyframes to push metadata to the client. In DVR applications (and in all recorded video applications) the <samp class="" style="line-height:18px;font-family:'Courier New',Courier,monospace;font-size:9pt">onMetaData()</samp> method is called at the beginning of the stream and during events such as seek and pause.</div>
</div><div><br><br><br><br><br></div></div></div>