1

How to packetize a file (any files like audio, text, image, video and...) and send it on famous protocols like RTP using scapy in python?

1

1 Answer 1

1

Activity need to be split into 2 parts

  1. Reading the encoded data from different file format.

    audio - wav , amr, 3gp, mp4 etc.

    text - ascii, utf- 8, utf-16 etc.

    image - jpeg , gif , png etc.

    video - 3gp/mp4, avi, mkv etc.

    you can use python ffmpeg to read the data from these formats or use other library with similar functionality.

  2. Pass the encoded data as the payload to the scapy and then add the RTP header.

    read this blog

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.