Results 1 to 3 of 3

Thread: Special Characters

  1. #1

    Default Special Characters

    I am injecting captions into a stream via a call like:
    stream.sendDirect("onTextData", amfData);
    But some of the special characters (e.g. anything with an accent, musical notes, etc) are not showing up properly. The README file included with PublishOnTextData says the following:
    The source code is included so that you can extend it as needed. The charToByte(String text, int pos, String characterSet, int channel) method is used to convert characters to closed captioning character codes. It's this method that must be extended to add support for additional character sets.
    I can not find any mention of that function in either the server api documentation or in the source code of PublishOnTextData. Is using that method still the preferred way to add support for additional characters?

    I'm looking into this mainly for spanish characters but I would like to support other languages as well.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    The article might need to be updated. Look for a comment in the source "// map unicode codepoint to utf-8" to see how this is being done. It is the only way at present.

    Richard

  3. #3

    Default

    I also encountered this problem. Who can help me not

Similar Threads

  1. streamschedule.smil structure, special chars?
    By haarvik in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 05-15-2012, 03:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •