Skip to content

Is there an easy way (without changing the pion source code) to add info on a frame's packet #1841

Answered by at-wat
amotzte asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @amotzte !
TrackLocal is an interface, so you can implement a custom TrackLocal (in this case, webrtc.TrackLocalStaticSample + your patch) in your package and pass it to PeerConnection.AddTrack() or PeerConnection.AddTransceiverFromTrack().

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Sean-Der
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1840 on June 22, 2021 17:14.