Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6581515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:09:45+00:00 2026-05-25T16:09:45+00:00

i’m trying to write an application to stream videos like SipDroid, but SipDroid only

  • 0

i’m trying to write an application to stream videos like SipDroid, but SipDroid only streams videos with H263 codec.
i would like to stream videos with H264 codec and so i’ve to write a nal header.

i got some informations from here: http://www.networkdictionary.com/rfc/rfc3984.php?page=0%2C0
and i decided to use the fragmented units to stream (5.8. Fragmentation Units (FUs) (page 8)).

i’ve tried to create a nal header like this:

nal header http://www.networkdictionary.com/images/rfc3984f14.gif

with the following values for the indicator:

indicator http://www.networkdictionary.com/images/rfc3984-3.gif

F = 0, NRI = 2, Type = 28;

and the header:

header http://www.networkdictionary.com/images/rfc3984-4.gif

S=0 (1 at first packet), E = 0 (1 at last packet), R = 0, Type = 1;

The values of the packets are set correctly on client and server side. But i can’t read any video stream out of this packets.

the server is a simple java server, that receives the data and write it to a file.
i’ve also tried to show the stream on vlc player, but it also doesn’t work.

Does anybody know what the problem is, or what is missing to get a video stream at the server side?

EDIT:

ok, i think i’ve solved the problem. i’ve tried to get the header values from a (vlc player) rtp stream. in this stream the packet format depends on the frame size. is the frame size small enough for 1 packet so the packet has to be declared as a single nal packet with following values: NAL header: f 0, nri 2, type 1. if the frame size is bigger than the packet size, the packets get split and the format looks like i’ve posted in my question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:09:46+00:00Added an answer on May 25, 2026 at 4:09 pm

    Note that RFC 3984 has been superseded by RFC 6184, though that doesn’t affect this question.

    In theory you can have an FU packet with S=1 and E=1, but it’s a waste of bits. A compliant decoder should decode it properly, but it’s a testcase that I doubt is well-exercised.

    Also make sure you’re using packetization-mode=1 in the SDP’s fmtp or the receiver shouldn’t decode it properly (though some might anyways). FU-A isn’t available in mode 0, which is the default.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to count the length of a string with PHP. The string
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I would like to run a str_replace or preg_replace which looks for certain words
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.