This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SampleHandler.swift | |
// BroadcastScreen | |
// | |
// Created by mekya on 08/07/2023. | |
// | |
import ReplayKit | |
import WebRTCiOSSDK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ConferenceViewController.swift | |
// AntMediaReferenceApplication | |
// | |
// Created by mekya on 13.08.2020. | |
// Copyright © 2020 AntMedia. All rights reserved. | |
// | |
import UIKit | |
import Foundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// VideoViewController.swift | |
// AntMediaReferenceApplication | |
// | |
// | |
import UIKit | |
import WebRTC | |
import AVFoundation | |
import WebRTCiOSSDK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.antmedia.enterprise.streamapp; | |
import javax.servlet.ServletException; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import javax.servlet.ServletOutputStream; | |
import java.util.ArrayList; | |
import org.apache.catalina.WebResource; | |
import java.io.FileNotFoundException; | |
import javax.servlet.DispatcherType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
## This script sends number of Big Buck Bunny video(2119 Kbps 1280x720) to the Ant Media Server via RTMP for load testing. | |
## first parameter is the number of rtmp stream to send the server | |
## second parameter is the server address to send that rtmp streams | |
## | |
## Sample usage | |
## ./load_rtmp.sh 100 172.99.22.33 | |
## Above script send 100 RTMP streams to the Ant Media Server running in 172.99.22.33 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Ant Media Server WebRTC/HLS Player</title> | |
<!-- videojs includes --> | |
<link href="css/external/video-js.css" rel="stylesheet"> | |
<script src="js/external/video.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Ant Media Server WebRTC/HLS Player</title> | |
<!-- videojs includes --> | |
<link href="css/external/video-js.css" rel="stylesheet"> | |
<script src="js/external/video.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="java" contentType="text/html; charset=UTF-8" | |
pageEncoding="UTF-8"%> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" | |
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" | |
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" | |
crossorigin="anonymous"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#login | |
echo "login" | |
SERVER_ADDR=172.16.110.178 | |
APP_NAME=WebRTCAppEE | |
FILE_1=~/git/Ant-Media-Server/src/test/resources/test.flv #Clash_360z.mp4 | |
FILE_2=~/git/Ant-Media-Server/src/test/resources/test_video_360p.flv #Carz.mp4 | |
STREAM_ID_1=stream_multi_track |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta charset="UTF-8"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | |
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script> | |
<style> |
NewerOlder