লাইভ স্ট্রিম জন্য ওভারভিউ
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পড সার্ভিং API এমনভাবে তৈরি অভিযোজিত-বিটরেট ভিডিও বিজ্ঞাপন পডগুলিতে অ্যাক্সেস সরবরাহ করে যাতে সেগুলি সরাসরি ব্যবহারকারী-মুখী HLS বা MPEG DASH মিডিয়া প্লেলিস্টে সেলাই করা যায়।
এই APIটি উন্নত প্রকাশক এবং ভিডিও প্রযুক্তি অংশীদারদের জন্য তৈরি। স্কেলে এই API ব্যবহার করার জন্য একটি পরিশীলিত মিডিয়া পরিবেশন কর্মপ্রবাহের ডিজাইন এবং বাস্তবায়ন প্রয়োজন যা এই ডকুমেন্টেশনের সুযোগের বাইরে।
পূর্বশর্ত
DAI Podserving API-এর মাধ্যমে একটি লাইভস্ট্রিম প্রক্রিয়া করার আগে, আপনাকে Google Ad Manager UI বা লাইভ-ইভেন্ট API ব্যবহার করে একটি লাইভস্ট্রিম ইভেন্ট তৈরি করতে হবে।
উপাদান
পড সার্ভিং এপিআই-এর যেকোনো বাস্তবায়নের জন্য তিনটি উপাদান রয়েছে: গুগল অ্যাড ম্যানেজার, একটি ক্লায়েন্ট ভিডিও প্লেয়ার এবং একটি ম্যানিফেস্ট ম্যানিপুলেশন সার্ভার।

অ্যাড ম্যানেজার
অ্যাড ম্যানেজার ব্যবহারকারীর কাছে বিজ্ঞাপন পৌঁছে দেওয়ার জন্য দায়ী এবং অ্যাড ম্যানেজার SDK বা এর ওয়েব ইন্টারফেসের মাধ্যমে পরিচালনা করা যেতে পারে। পরিষেবার এই দায়িত্ব রয়েছে:
- ক্লায়েন্ট ভিডিও প্লেয়ার থেকে স্ট্রীম অনুরোধ গ্রহণ করা, বিজ্ঞাপনের সিদ্ধান্ত নেওয়া, এবং আপনার সামগ্রী এনকোডিং প্রোফাইলের সাথে মেলে রেন্ডিশন প্রদান করা
- ক্লায়েন্ট ভিডিও প্লেয়ার থেকে বিজ্ঞাপন বিভাগের অনুরোধে সাড়া দেওয়া এবং প্রদত্ত ব্যবহারকারীর জন্য বিজ্ঞাপন পডের উপযুক্ত অংশ প্রদান করা
- ক্লায়েন্ট ভিডিও প্লেয়ার থেকে ট্র্যাকিং পিংস গ্রহণ এবং প্রক্রিয়াকরণ
ক্লায়েন্ট ভিডিও প্লেয়ার
ক্লায়েন্ট ভিডিও প্লেয়ার হল সেই অ্যাপ বা ওয়েবসাইট যা ক্লায়েন্টরা ফলাফল ভিডিও স্ট্রিম চালানোর জন্য ব্যবহার করে। খেলোয়াড়ের এই দায়িত্ব রয়েছে:
- অ্যাড ম্যানেজার থেকে একটি স্ট্রিম সংস্থান শুরু করা এবং একটি নির্দিষ্ট লাইভস্ট্রিম ইভেন্টের একটি একক প্লেব্যাক সেশন উপস্থাপন করে এমন একটি স্ট্রিম অবজেক্ট গ্রহণ করা।
- ম্যানিফেস্ট ম্যানিপুলেশন সার্ভার থেকে একটি স্ট্রিম ম্যানিফেস্টের অনুরোধ করা হচ্ছে, যা প্লেব্যাক শুরু করে
- বিজ্ঞাপন ম্যানেজার থেকে পর্যায়ক্রমে পোলিং বিজ্ঞাপন পড মেটাডেটা যা স্ট্রীমের বিজ্ঞাপন বিভাগে এমবেড করা বিজ্ঞাপন ইভেন্টগুলি বর্ণনা করে
- প্লেয়ারের দ্বারা উত্থাপিত সময়মতো মেটাডেটা ইভেন্টের জন্য শোনা যা বিজ্ঞাপন মিডিয়া আইডি ধারণ করে। এই ইভেন্টগুলির মুখোমুখি হওয়ার পরে, প্লেয়ার বিজ্ঞাপনের ইভেন্টগুলি সফলভাবে ঘটেছে কিনা তা যাচাই করার জন্য সেগুলিকে অ্যাড ম্যানেজারে ফরোয়ার্ড করে৷
ক্লায়েন্ট ভিডিও প্লেয়ারের যথাযথ বাস্তবায়ন সম্পর্কে আরও জানতে, আপনার প্ল্যাটফর্মের জন্য পড সার্ভিং গাইড দেখুন:
কাস্টম বাস্তবায়নের জন্য, DAI API-এর জন্য আমাদের পড সার্ভিং ক্লায়েন্ট গাইড দেখুন।
ম্যানিফেস্ট ম্যানিপুলেশন সার্ভার
ম্যানিফেস্ট ম্যানিপুলেশন সার্ভার হল ক্লায়েন্ট ভিডিও প্লেয়ারকে দেওয়া স্ট্রিম ম্যানিফেস্ট হোস্ট করার দায়িত্বে থাকা সার্ভার। সার্ভারের এই দায়িত্ব রয়েছে:
- ক্লায়েন্ট ভিডিও প্লেয়ারে ম্যানিফেস্ট ডেলিভারি পরিচালনা করা
- অ্যাড ম্যানেজার থেকে একটি পিরিয়ড টেমপ্লেটের জন্য অনুরোধ করা হচ্ছে (কেবল MPEG DASH স্ট্রীমের জন্য), বিজ্ঞাপনের অংশগুলি পূরণ করতে।
- বিজ্ঞাপন বিরতির সময় ভিডিও স্ট্রীম ম্যানিফেস্টে (HLS-এর জন্য) বা বিজ্ঞাপনের সময়কাল (MPEG DASH-এর জন্য) অ্যাড ম্যানেজার-হোস্ট করা বিজ্ঞাপন সেগমেন্ট URL গুলি ঢোকানো।
- ক্লায়েন্ট ভিডিও প্লেয়ারে পরিবর্তিত ম্যানিফেস্ট পরিবেশন করা হচ্ছে।
একটি কাস্টম ম্যানিফেস্ট ম্যানিপুলেটর সার্ভার বাস্তবায়ন সম্পর্কে আরও জানতে, ম্যানিফেস্ট ম্যানিপুলেশন গাইড দেখুন।
শব্দকোষ
- লাইভস্ট্রিম ইভেন্ট : একটি ইভেন্ট যা লাইভস্ট্রিমের জন্য গুরুত্বপূর্ণ কনফিগারেশন ডেটা সংরক্ষণ করে, যেমন এনকোডিং প্রোফাইল। লাইভস্ট্রিম ইভেন্টগুলি অ্যাড ম্যানেজার ব্যবহার করে তৈরি করা হয়।
- স্ট্রিম অবজেক্ট : একটি বস্তু যা একটি নির্দিষ্ট ভিডিও সম্পদের একটি একক প্লেব্যাক সেশনকে উপস্থাপন করে। উল্লেখযোগ্য বৈশিষ্ট্যগুলির মধ্যে রয়েছে স্ট্রিম আইডি এবং মিডিয়া যাচাইকরণ URL।
- বিজ্ঞাপন পড : বিজ্ঞাপন বিরতিতে দেখানো বিজ্ঞাপন ভিডিওর গ্রুপিং
- বিজ্ঞাপন বিভাগ : বিজ্ঞাপন বিরতির জন্য মিডিয়া সেগমেন্ট ফাইল
- অ্যাড পড মেটাডেটা : ক্লায়েন্টে বিজ্ঞাপন UI রেন্ডার করতে ব্যবহৃত বিজ্ঞাপন বিরতির জন্য মেটাডেটা; উদাহরণস্বরূপ, বিজ্ঞাপনের সময় সিক বোতাম লুকান
- বিজ্ঞাপন মিডিয়া আইডি : বিজ্ঞাপন সেগমেন্ট ফাইলের মধ্যে ID3 ট্যাগ হিসাবে এনকোড করা মেটাডেটা। এই মেটাডেটা ব্যবহার করা হয় নির্দিষ্ট বিজ্ঞাপন-সম্পর্কিত ইভেন্ট প্লেব্যাকের সময় কখন ঘটেছে, যেমন বিজ্ঞাপন শুরু বা মিডপয়েন্ট।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-01 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-01 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Pod Serving API facilitates the integration of adaptive-bitrate video ad pods directly into HLS or MPEG DASH media playlists for advanced publishers and video technology partners.\u003c/p\u003e\n"],["\u003cp\u003eImplementing the Pod Serving API involves three core components: Google Ad Manager, which handles ad delivery and tracking; a client video player, which manages stream initialization and playback; and a manifest manipulation server, which modifies and serves the stream manifest.\u003c/p\u003e\n"],["\u003cp\u003eBefore using the API, a livestream event must be created via the Google Ad Manager UI or the live-event API, serving as a configuration resource for the livestream.\u003c/p\u003e\n"],["\u003cp\u003eThe client video player is responsible for initializing the stream, requesting the manifest, polling for ad pod metadata, and forwarding timed metadata events to Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe manifest manipulation server handles manifest delivery, requests ad period templates, and inserts Ad Manager-hosted ad segment URLs or ad periods into the stream manifest during ad breaks.\u003c/p\u003e\n"]]],[],null,["# Overview for live streams\n\nThe Pod Serving API provides access to adaptive-bitrate video ad pods prepared\nin such a way that they can be stitched directly into a user-facing HLS or MPEG\nDASH media playlist.\n\nThis API is intended for advanced publishers and video technology partners.\nUsing this API at scale requires design and implementation of a sophisticated\nmedia serving workflow which is outside the scope of this documentation.\n\nPrerequisites\n-------------\n\nBefore processing a livestream through the DAI Podserving API, you\nwill need to create a\n[livestream event](/ad-manager/dynamic-ad-insertion/api/pod-serving/live/manipulator#livestreamevent)\nusing the Google Ad Manager UI, or the live-event API.\n\nComponents\n----------\n\nThere are three components that make up any implementation of the Pod Serving\nAPI: Google Ad Manager, a client video player, and a manifest manipulation\nserver.\n\n### Ad Manager\n\nAd Manager is responsible for delivering ads to the user and can be managed\nthrough either the Ad Manager SDK or its web interface. The service has these\nresponsibilities:\n\n- Receiving stream requests from the client video player, decisioning ads, and providing renditions to match your content encoding profiles\n- Responding to ad segment requests from the client video player and providing the appropriate portion of the ad pod for the given user\n- Receiving and processing tracking pings from the client video player\n\n### Client video player\n\nThe client video player is the app or website that clients use to play the\nresulting video stream. The player has these responsibilities:\n\n- Initializing a stream resource from Ad Manager and receiving a stream object that represents a single playback session of a specific livestream event.\n- Requesting a stream manifest from the manifest manipulation server, which starts playback\n- Periodically polling ad pod metadata from Ad Manager that describes the ad events embedded in the stream's ad segments\n- Listening for timed metadata events raised by the player that contain ad media IDs. Upon encountering these events, the player forwards them to Ad Manager to verify that ad events have successfully occurred.\n\nTo learn more about the proper implementation of the client video player, see\nthe pod serving guide for your platform:\n\n- [Android](/ad-manager/dynamic-ad-insertion/sdk/android?service=pod)\n- [HTML5](/ad-manager/dynamic-ad-insertion/sdk/html5?service=pod)\n- [iOS](/ad-manager/dynamic-ad-insertion/sdk/ios?service=pod)\n- [tvOS](/ad-manager/dynamic-ad-insertion/sdk/tvos?service=pod)\n\nFor custom implementations, see our [pod serving client guide for the DAI\nAPI](/ad-manager/dynamic-ad-insertion/api/pod-serving/live/client).\n\n### Manifest manipulation server\n\nThe manifest manipulation server is the server in charge of hosting the\nstream manifest provided to the client video player. The server has these\nresponsibilities:\n\n- Handling manifest delivery to the client video player\n- Requesting a period template from Ad Manager (for MPEG DASH streams only), to populate with ad segments.\n- Inserting Ad Manager-hosted ad segment URLs into the video stream manifest (for HLS) or ad period (for MPEG DASH) during ad breaks.\n- Serving the modified manifest to the client video player.\n\nTo learn more about implementing a custom manifest manipulator server, see the\n[manifest manipulation\nguide](/ad-manager/dynamic-ad-insertion/api/pod-serving/live/manipulator).\n\nGlossary\n--------\n\n- **Livestream event**: An event that stores important configuration data for livestream, such as encoding profiles. Livestream events are created using Ad Manager.\n- **Stream object**: An object that represents a single playback session of a specific video asset. Notable properties include the stream ID and the media verification URL.\n- **Ad pod**: Grouping of ad videos shown in an ad break\n- **Ad segments**: Media segment files for the ad break\n- **Ad pod metadata**: Metadata for the ad break used to render ad UI on the client; for example, hide seek buttons during ad\n- **Ad media ID**: Metadata encoded as ID3 tags within ad segment files. This metadata is used to identify when specific ad-related events have occurred during playback, such as ad start or midpoint."]]